struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shunhui zhu <shunhui_...@yahoo.com>
Subject Re: Can not read i18n properties file
Date Tue, 01 May 2001 18:18:24 GMT
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 <seanpau@yahoo.com> 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/

Mime
View raw message