• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to store foreign characters from request parameters to beans

 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have a webpage from where user enters data in multilingual characters
( e.g. ФФ КК ИТ ЧЧ etc.).

In html they appear properly. i.e. when I write these values to alerts they appear properlyю
But when these values are stored to java strings they get distorted.
Which character set should I use and where ?

Sort of urgent, please respond.
 
Albareto McKenzie
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at this article:

http://www.joelonsoftware.com/articles/Unicode.html
 
Mathew Lee
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UTF8 and unicode are commonly used ones
 
Paul Clapham
Sheriff
Posts: 21878
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this too: Character Conversions from Browser to Database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!