This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chinese Encoding

 
mitesh mehta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this:
String str=new String(s.getBytes("8859_1"),"BIG5");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic