Problem in locale display

Hi,I am doing a webproject,in that project i have many locale.If i click on locale,say,for spanish then the characters in thebrowser is displayed like 'CATA?1/2LOGO'.what would be theerror?Thanx in advance for any help,Thirupathi
[280 byte] By [thirupathia] at [2007-10-3 4:15:48]
# 1
hi,Can anyone tell why such thing is happeneing?Thanx in advance for any help,Thirupathi
thirupathia at 2007-7-14 22:17:19 > top of Java-index,Desktop,I18N...
# 2

Your prospect of getting a reply would be significantly higher if you included relevant information about how your application is configured, where/how you store your translations, which encodings you use, etc.

Remember that you are asking people to help you for free.

So, how do you store the Spanish translation, what encoding do you store it in, and what is the encoding of your servlet or JSP (assuming that is what you use)?

There could be so many reasons for incorrect display (and by the way, the example you provide is not very good - it would help if you could show what you expect to see vs. what you actually see).

one_danea at 2007-7-14 22:17:19 > top of Java-index,Desktop,I18N...
# 3

hi,

Thank you for teaching me such procedure.

Actually,what i am doing is i have 3 flags US,Spain,Brazil.The locale of the application is

changed when i click any flag.upto this point ,its working fine.Now,I give a facility to add any

property file in the application on execution time.and doing the relevant flag display etc.

Now, when i click that new flag the locale is not displayed correctly.

I used google translator for translation,and UTF-8 encoding.for example,

in spanish language LOGIN is CONEXI覰 ,but it is displaying as CONEXIi1/2.

Thanx,

thirupathi

thirupathia at 2007-7-14 22:17:19 > top of Java-index,Desktop,I18N...
# 4

You still have not said what kind of code you use to display the properties file, but I assume it's JSPs.

It looks as if 8859-1 encoding is being used somewhere because you have not specified UTF-8 for all the required parameters.

Post the relevant part of your code (where you specify meta charset, page contentType, etc.), then I might be able to be more specific.

There are also a number of threads in this forum that deal with the same kind of problem, you might want to look at those.

one_danea at 2007-7-14 22:17:19 > top of Java-index,Desktop,I18N...
# 5
And one more obvious question:Are you sure your file is correctly encoded in UTF-8? What are the hex values for the string in question?
one_danea at 2007-7-14 22:17:19 > top of Java-index,Desktop,I18N...