This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Problem in Struts and unicode Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Problem in Struts and unicode" Watch "Problem in Struts and unicode" New topic
Author

Problem in Struts and unicode

knazeer ahmed
Greenhorn

Joined: Sep 09, 2008
Posts: 8
Hi,
i have query regarding unicode.My problem is I am using struts application. In one of my Jsp i have a text area where i can enter hindi words(i did it by using javascript) I am using utf-8 in JSP. I am trying to store it in data base. My table supports Unicode format. When i try save hindi words those are storing in database in different format(ex: तॆस्तिङ् for "testing" string). In other jsp i am trying to see the same it is showing in तॆस्तिङ् format. Can anyone suggest me why this is happening. If i try to store it in \u00.. format it i want to see that in hindi character of \u00.. string but it is displaying in \u00.. format only.

Thanks and Regards,
Nazeer Ahmed.K.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32689
    
    4
It might be an encoding problem, and your command-line may be unable to display Unicode. See this article by Joel Spolsky.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem in Struts and unicode
 
Similar Threads
Reading hindi text from excel file and getting its corresponding unicode
can't able to retrive the string from url
Hindi Language Support for Struts
Cannot insert chinese/thai characters in db2 through script
cant get the string from url