Encoding bug for Japanese localization
--------------------------------------
Key: GEOS-504
URL: http://jira.codehaus.org/browse/GEOS-504
Project: GeoServer
Type: Bug
Components: Struts
Versions: 1.3.0 RC6
Environment: Win2000
Reporter: Akira Sugawara
Assigned to: dblasby
I reported yet that by only translating messeage properties file the geoserver's page was not displayied in japanease at GEOS-498 "Japanese localization", but I found this cause at last.
A cause is because a description to appoint encoding fell out in JSP source file.
Adding <%@ page contentType="text/html; charset=UTF-8" %> to a source of jsp, Japanese was displayed justly.
A single byte letter code such as English is displayed adequately by iso-8859-1 without encoding instructions, but clear encode instructions are necessary for multi-byte language such as Japanese .
It is not displayed justly only by using charset=UTF-8 in a meta tag.
There is charset=iso-8859-1 on a source of jsp, but I thinks that it should be change in charset=UTF-8.
I am examining and checking with the japanese property file that I transrated.
If an examination was finished, I will donate a Japanese property file and patch to community.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira