please help me with Chinese content problem

2008-07-15 Thread fanieste
hi guys,

I'm using forrest to generate a site where most content is in Chinese.
I started at invoking forrest seed-sample to generate a template
project, then I edited index.xml in the xdocs directory to made some
Chinese content added, and ran forrest site.

when I browsed the index.html within my browser, it showed me 
instead of the Chinese characters. I checked the index.html generated,
the Chinese Content was turned to , I mean It's not because of a
wrong http metadata setting. I also checked the index.pdf, there are
#   at the corresponding positions.

I tried to run forrest run. the http content provided by jetty is
right, but also problems in index.pdf still existed.

I'm so confused, could any body tell me how can I work it out. thanks
in advance.

-fanieste


Re: how to use photogallery plugin?

2008-07-15 Thread David Crossley
gulfiz ergin wrote:
 Tim Williams wrote:
 
  Can you run the Photogallery sample site?  Does it work properly?
 
 yeah, it is working properly no problem with it..

Lets be sure. Can you see the beach picture?
at http://localhost:/gallery/demo/pic_1.html

gulfiz ergin wrote:
 Tim Williams wrote:
 
  Can you copy your site to a simple path (e.g. C:\temp) and try to   
 
build from there?  I'm wondering if the spaces in the directory path   
aren't the issue.  

 as you said I change the path...both nothing has changed...when I check   
   
 error.log,it is empty

So something has changed. That means that the error that you
reported earlier is gone, which indicates that the use of spaces
in the directory name might be causing problems.

However, it seems that you have something else wrong
with your use of the PhotoGallery plugin. I think that
you need to take a step back and explain exactly where
you have placed your images and what is in your album.xml
file for one of the galleries. I suggest that you create
an issue [1] and attach your index.xml file, and an album.xml
file, and a listing of your xdocs/images/gallery/*/ directory.
[1] http://forrest.apache.org/issues.html

The PhotoGallery works fine for me.

What version of Forrest are you using?

Also, have a look at these issues and see if any apply to you:
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=1231sorter/order=DESCsorter/field=priorityresolution=-1component=12310045

-David