dcsimg
special characters
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Sunday, July 28, 2002 08:43 PM

Hi,


I have problem with the some 2 bytes character in Japaneses such as middle bar(-), tide(~), double vertical bar (||)
It can not to display these characters, only ??? .
I use apache/tomcat, struts and velocity to render output to return the user browser.


Do you have any comment? Pls teach me!


Thanks for any comment.

Re: special characters

Posted By:   Alex_Kobyakov  
Posted On:   Tuesday, July 30, 2002 12:57 AM

Check your output encoding. Should be "UTF-8" or "big-5" or whatever you must use for japanese text.

For example:

response.setContentType("text/html;charset=UTF-8");

And since you're using struts, make sure you're using
 



and you can read those characters from your .properties aswell.
About | Sitemap | Contact