File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Chinese Encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Chinese Encoding" Watch "Chinese Encoding" New topic
Author

Chinese Encoding

mitesh mehta
Greenhorn

Joined: Aug 29, 2002
Posts: 25
Hi....
I am showing chinese Locale support on my page.I am using "response.setContentType("text/html;Charset=Big5");" for displaying the same.
I have no style sheet for displaying of fonts.But the chinese value on the button is Bold on display.
Is it because of the encoding to Big5?
Any help will be appreciated.
Thank you.
Mitesh
hahaha hahaha
Greenhorn

Joined: Mar 16, 2003
Posts: 1
try this:
String str=new String(s.getBytes("8859_1"),"BIG5");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Chinese Encoding