Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Read Chinese character from MessageResources.properties

843838Nov 6 2006 — edited Nov 6 2006
Hi,

I use struts as my application framework. I having this problem when i trying to read the chinese character from MessageResources.properties. I already set the encoding to UTF-8 in CharEncodingFilter.java and jsp page.

The chinese character able to display if i type the chinese character by uisng NJStar. But only can be display if the NJStart are opened. As the server is linux server, so this method are not allowed.

I also tried to type the chinese character by using microsoft pinyin. But when i try to display text in the jsp page, the chinese character become like this "��œ���" which should be like this "搜索".

Anyone can help me on this??

Thanks a lot
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2006
Added on Nov 6 2006
2 comments
186 views