This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Chinese Encoding" Watch "Chinese Encoding" New topic

Chinese Encoding

mitesh mehta

Joined: Aug 29, 2002
Posts: 25
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.
hahaha hahaha

Joined: Mar 16, 2003
Posts: 1
try this:
String str=new String(s.getBytes("8859_1"),"BIG5");
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Chinese Encoding
Similar Threads
Problem in setting character encoding in JSP
Help needed on character encoding....
Multilingual Mail
problem of internationalism in struts framework