permaculture playing cards*
The moose likes JSP and the fly likes cannot display japanese kanji in jsp 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 "cannot display japanese kanji in jsp" Watch "cannot display japanese kanji in jsp" New topic

cannot display japanese kanji in jsp

yo nara
Ranch Hand

Joined: Apr 03, 2002
Posts: 35
hi all
i have a page containing some kanjis.if i create an html page with encoding Shift_JIS and write kanji in that and put the html in weblogic server and if i access the page through http i can see the contents.
but if i write a jsp with same encoding and try to access the same contents i get a question mark sign.
can anybody help me out.
thnx in advance.
[ March 29, 2004: Message edited by: Bear Bibeault ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
taking a guess:

And by the way URGENT does nothing to speed up your chances of getting answers, it usually hurts them..
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

I have removed the word "urgent" from the subject.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
yo nara
Ranch Hand

Joined: Apr 03, 2002
Posts: 35
sorry for writing the word "Urgent"
i have already tried the code you have given but it doesnt work if you want to try i can mail you the sample code also.
waiting for reply
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: cannot display japanese kanji in jsp
Similar Threads
how to save a webpage with struts code as pdf in java?
how to save a jsp page as pdf in java?
JSP /Servlet - Printing issue
Problem in displaying the double byte kana characters in csv
difference between System.out.println and out.println in jsp