Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Japanese special charecters? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Japanese special charecters?" Watch "Japanese special charecters?" New topic

Japanese special charecters?

Viet Jav
Ranch Hand

Joined: Dec 27, 2001
Posts: 55
Hi all,

I meet a problem with special charecters.
I used encode:
protected String itemEncode(String item) throws Exception {
 if (item == null) {
return null;
 return new String(item.getBytes("ISO8859_1"), "JISAutoDetect");
all common japanese characters are displayed well.
However, special charecters encoding is not well.
Ex: Special charecters: ㈱(romaji is KABU)
Have you done the same problems yet?
Help me.
Consider Paul's rocket mass heater.
subject: Japanese special charecters?
It's not a secret anymore!