- Original Message -
From:
Greg
Murray
To: [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 1:49 PM
Subject: Re: Can not read i18n properties
file
Hi all,
Ihave encountered this behavior in the past .properties files must be
converted to ascii using the java sdk native to ascii before the display.
Once converted your characters should be viewable. Also remember to set the
Content-Type as specified.
gm/
Jason Chaffee wrote:
That would be my guess as well. Take a look at the
html source that is being produced and see if there is a charset header, if
there isn't copy the source to a static file and add a charset header and
try to load it in IE, this should give you your answer.
-Original Message- From:
shunhui zhu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 11:18 AM To: [EMAIL PROTECTED] Subject:
Re: Can not read i18n properties file
Pau, I did a similar test for a chinese version with
resource_zh.properties. If I change my browser
language preferences (in IE), I do get the chinese
version, although to display it correctly, I needed
to select chinese encoding in IE's view menu. My
guess is that the response header is not setting
the "Content-language" header or the charset
header, but I haven't looked into it.
Shunhui --- Sean Pau
[EMAIL PROTECTED] wrote: I test
creating resource properties file for Japanese
language. I use Windows Notepad and edit
resources_ja.properties and save it under
UTF-8 and Unicode format. Struts could display
when the file is in UTF-8 format but
the text came out rubbish. When the file is in
Unicode format, Struts is not reading it, instead it reads the default resources.properties file. Both
UTF-8 and Unicode format resources_ja.properties files display the Japanese text
OK when I drag it into IE and also WordPad. Pls help. Thanks_
Do You Yahoo!? Get your
free @yahoo.com address at http://mail.yahoo.com
__
Do You Yahoo!? Yahoo! Auctions -
buy the things you want at great prices http://auctions.yahoo.com/