This sounds familiar and may relate to a problem I used to have with showing Bulgarian (Cyrillic). It's too long ago to remember precise details, but here are some tips:
Look at the text file encoding of your properties file and of the JSP file, this should be UTF-8, you can set this with IDEs such as Eclipse, but also just with notepad. I think databases also have encodings. After setting it, see if the text still looks garbled. There are tools (I remember UltraEdit) that can convert encodings of existing text files. I would start setting the content type of your web page to UTF-8 and get everything (message resources, database texts, plain JSP texts) display correctly one by one after that. If you return XML (XHTML), you can also try to set the following first line: <?xml version="1.0" encoding="UTF-8"?> Hope this helps... I'm curious to hear if you got it working (or not) Jeroen > -----Oorspronkelijk bericht----- > Van: Brian Lee [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 15 april 2004 16:35 > Aan: [EMAIL PROTECTED] > Onderwerp: I18N problems > > I've got a site that we're trying to deploy in Japanese. We're using > struts > message tags everywhere with property resource bundles for all the labels > and text. The only text that doesn't come from the resource bundles comes > from the database. > > The problem is that IE doesn't display the text properly. > > When we don't set the content-type to UTF-8, the text from the database > shows up properly but all of the text from the message tags shows up > garbled. Also, if we put japanese characters directly in the JSP outside > of > scriplet tags, it is displayed as garbled in both the browser and view > source. > > When we do set the content-type to UTF-8, all of the text from the message > tags shows up properly but all of the text from the database shows us > garbled (html tags are also screwed up because the browser thinks part of > the Japanese is a "<" so instead of "</a>" view source only shows "/a>"). > > We tried running the properties files through the native2ascii utility > from > the jdk to convert all the japanese characters to \uxxxx but IE treats > that > as the literal text and tries to display "\uxxxx". > > We need to get both the message tag text and other text to show up > properly > as japanese. > > Has anyone else experienced this problem? If so how did you solve it? > > Thanks, > BAL > > _________________________________________________________________ > Tax headache? MSN Money provides relief with tax tips, tools, IRS forms > and > more! http://moneycentral.msn.com/tax/workshop/welcome.asp > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]