Subject: I18N Problem with Chinese Character
From: "Liu Yan" <[EMAIL PROTECTED]>
 ===
hi List,

I am using struts-1.0.2 with WebLogic 6.1-sp2. For an I18N project, I
followed the steps:

1) I created ApplicationResources.properties and
ApplicationResources_zh.properties files to store strings.
2) The whole project is using UTF-8 encoding.
3) On the beginning of each JSP page, add:
   <%@ page contentType="text/html; charset=UTF-8" %>

For static Chinese character in JSP page, this setting goes well. But when I
tried to use:

<bean:message key="prompt.username"/>

to get some strings from ApplicationResources_zh.properties file, the output
is corrupted.

I am suspecting this is the <bean:message> taglib's problem, but decided to
drop a letter here for a quick answer. Am I doing something wrong or I have
to wait for the upcoming 1.1 beta release?

Regards!
Liu Yan




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to