struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "May" <may14...@hotmail.com>
Subject Reading Japanese from Resource_jp.properties file
Date Thu, 23 Aug 2001 01:52:55 GMT
Hi all !
I have read about the trouble when reading Japanese from
Resource.properties file in the mail archive. Actually I had the same 
trouble myself too.

Finally I got through this with below solution.

1) Save the Resource.propeties file by "JIS" encoding.
2) Set the charset of jsp to "ISO2022JP", like below. 
<%@ page contentType="text/html; charset=ISO2022JP" %>

Viewing from IE results fine.
IE's encode is set to "default".


Mime
View raw message