struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "May" <>
Subject Reading Japanese from file
Date Thu, 23 Aug 2001 01:52:55 GMT
Hi all !
I have read about the trouble when reading Japanese from 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".

View raw message