Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2008, 03:20 PM
Member
 
Join Date: Sep 2008
Posts: 2
Rep Power: 0
jmanjunath is on a distinguished road
Default Displaying Japanese characters in JSP page
Hi,

I am calling an application which returns Japanese characters from my JSP. I am getting the captions in Japanese characters from the application and I am able to display the Japanese captions. After displaying the Japanese captions, user will select the particular captions by selecting the check box against the caption and Press Save button. Then I am storing the captions in the javascript string separated by :: and passing it to another JSP.

The acton JSP retrieves that string and split it by using tokenizer and store it in the database. When I retrieve it again from the database and display it, I am not able to see the Japanese characters, it is showing some other characters, may be characters encoded by ISO.

My database is UTF-8 enabled and in my server I am setting the UTF-8 as default encoding. In my JSP pages also, I am setting the charset and encoding type as UTF-8.

I shall appreciate you if you can help me in resolving the issue.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-25-2008, 12:19 PM
Member
 
Join Date: Sep 2008
Posts: 2
Rep Power: 0
jmanjunath is on a distinguished road
Default
The issue got resolved, thanks
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying Chinese characters on Swing components vaskarbasak AWT / Swing 3 06-26-2008 09:27 AM
Applet - Displaying an HTML page with a selected resolution Java Tip Java Tips 0 03-10-2008 03:36 PM
Accessing Japanese characters from text area princy.mat Advanced Java 0 03-08-2008 04:11 PM
Displaying COPYRIGHT and REGISTERED characters Java Tip Java Tips 0 03-01-2008 10:52 PM
Displaying characters in many ways. TampaTechGuy New To Java 7 01-02-2008 10:16 PM


All times are GMT +2. The time now is 08:30 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org