| Author |
Language diaplay problem in the UI for other than English
|
Namrita Mohanty
Ranch Hand
Joined: Sep 26, 2010
Posts: 30
|
|
Hello,
My Database has some data in Thai Language. While displaying it in the UI I see only "?" instead of the Thai letters.
This is happening for only one table in the database. Other tables are working fine. I mean it returns and displays the proper Thai name if stored.
Could anyone help?
Thanks,
Namrita
|
 |
Namrita Mohanty
Ranch Hand
Joined: Sep 26, 2010
Posts: 30
|
|
Oops!!! Just to make a small correction.... For other Tables also it isnt working... Thai data from database when tried to display it on the screen shows "?" Question marks....
Sorry... Please help?
|
 |
Arun Kumarr
Ranch Hand
Joined: May 16, 2005
Posts: 508
|
|
|
When we are creating tables, we should be specifying the format in which the data is stored in the table. like latin1, UTF-8 etc., Check if the problematic table stores data in different format than others.
|
If you are not laughing at yourself, then you just didn't get the joke.
|
 |
Namrita Mohanty
Ranch Hand
Joined: Sep 26, 2010
Posts: 30
|
|
While it saves data into the Database the correct Thai format is getting saved....
For Eg:
Table: PostalCodes has three columns [Postalcode(numeric english),
District(Thai letters),
City(Thai letters)]
Only when we search for a Postalcode i.e a numeric value it displays the Thai letters of its correcponding District and City in "?". Like if its 3 letters in thai that should come it displays "???" for the District and for City of 7 letters in Thai its 7 Q marks that is getting displayed.
Any ideas?
Cheers!
Namrita
|
 |
Arun Kumarr
Ranch Hand
Joined: May 16, 2005
Posts: 508
|
|
you said other tables are working fine. Considering other table data are getting displayed in other pages, can you go to one of the "correctly displaying page" and retrieve from the same table (say district and city) and try displaying it.
If it displays correctly we can be sure something is wrong in the way the data is handled in UI and clear doubts on the table and wrong data part.
|
 |
Swastik Dey
Ranch Hand
Joined: Jan 08, 2009
Posts: 1196
|
|
You probably need to encode it while displaying.
http://download.oracle.com/javase/1.3/docs/guide/intl/encoding.doc.html
|
Swastik
|
 |
 |
|
|
subject: Language diaplay problem in the UI for other than English
|
|
|