Hi All,

I am a new user of JSPWiki. Having played with it for a while, I do like it. 
Here is my setup:

*         Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

*         Red Hat Enterprise Linux Server release 6.3 (Santiago) (64bit)

*         GlassFish Server Open Source Edition 3.1.2.2 (build 5)

*         JSPWiki 2.10.1

Here is the problem:
I create a page called 'Test', and put some Chinese in it. The Chinese 
characters are displayed correctly.
After I save it, The Chinese characters become gibberish in the browser.
However, the page and its content are stored correctly on the disk, and the 
file command reported as ".../Test.txt: UTF-8 Unicode text, with CRLF line 
terminators"
Even stranger, if I edit the page again and save it immediately without doing 
anything, the gibberish Chinese string has doubled in length.
Now I check the file content on the disk, it becomes gibberish too, but the 
file command still reported it as UTF-8 Unicode text.
Could anyone tell me what is going on here?

BTW, the GF server and my browser have been verified with other web apps, and 
they are capable handle Chinese without any doubts.

Regards,
Xiaoming

Reply via email to