You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Y Toshiko <ma...@hotmail.com> on 2001/08/20 07:36:27 UTC

Reading Japanese from Resource.properties file

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".