Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005355 [Resin] minor always 01-31-13 16:06 02-01-13 10:44
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.32
Summary 0005355: UnsupportedEncodingException ISO8859_10 when using Estonian lanaguage
Description $ curl -H "Accept-Language: et" -vvv -o/dev/null

Server: Resin/4.0.32
< Cache-Control: private
< Cache-Control: private
< Expires: 21600000
< Content-Language: et
< Set-Cookie: requestGuid=2e78816ef7ae570db3c5d5e178588dd4
< Set-Cookie: ariel=cd7096b79f5c93513880f2f95663c722; path=/; expires=Wed, 19-Feb-2081 01:21:06 GMT
< Set-Cookie: aens=enp; path=/
< Set-Cookie: _sv=D; path=/; expires=Wed, 26-Jan-2033 22:06:59 GMT
< Set-Cookie: _idsv=D; path=/; expires=Wed, 26-Jan-2033 22:06:59 GMT
< Set-Cookie: JSESSIONID=aaaVrBlw8WFAI6ETFPsYt; path=/
< Content-Type: text/html; charset=ISO-8859-10
< Transfer-Encoding: chunked
< Date: Thu, 31 Jan 2013 22:06:59 GMT

With that, we see the ISO8859_10 exception.

[13-01-31 14:06:59.495] {resin-port-80-38} ISO8859_10
                        at com.caucho.vfs.i18n.JDKWriter$OutputStreamEncodingWriter.<init>(
                        at com.caucho.vfs.i18n.JDKWriter.create(
                        at com.caucho.vfs.i18n.EncodingWriter.create(
                        at com.caucho.vfs.Encoding.getWriteEncoding(
                        at com.caucho.server.http.ToByteResponseStream.setEncoding(
                        at com.caucho.server.http.HttpServletResponseImpl.getResponseStream(
                        at com.caucho.server.http.AbstractCauchoResponse.completeCache(
                        at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(
                        at com.caucho.server.webapp.

Note Estonian is not ISO-8859_10, it is ISO-8859_4 [^]

Line 557 of emacs ./modules/kernel/src/com/caucho/vfs/ has this:

 _localeName.put("et", "ISO-8859-10");

This could be changed to
 _localeName.put("et", "ISO-8859-4");

ISO-8859-10 is a Nordic language not a Finnic.
Also ISO-8859-10 is not supported by Java.

Estonian is a Finnic language.
Finnic Langauges are covered under ISO-8859-4.

Also Java does not support ISO-8859-10.

Estonian, Latvian, Lithuanian, Greenlandic, and Sami -- et, lv, lt -- would all have the same issue.

Latin 6 (Noridc) does not seem like it is supported aka ISO-8859-10. [^]

We should probably remove references to ISO-8859_10 and replace with ISO-8859-4.

./modules/kernel/src/com/caucho/vfs/ _mimeName.put("ISO_8859-10:1992", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _mimeName.put("iso-ir-157", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _mimeName.put("I6", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _mimeName.put("cslSOLatin6", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _mimeName.put("latin6", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _javaName.put("ISO-8859-10", "ISO8859_10");
./modules/kernel/src/com/caucho/vfs/ _localeName.put("et", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _localeName.put("lv", "ISO-8859-10");
./modules/kernel/src/com/caucho/vfs/ _localeName.put("lt", "ISO-8859-10");
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-31-13 16:06 rickHigh New Issue
01-31-13 16:19 rickHigh Description Updated
01-31-13 16:23 afoong Issue Monitored: afoong
02-01-13 10:44 ferg Assigned To  => ferg
02-01-13 10:44 ferg Status new => closed
02-01-13 10:44 ferg Resolution open => fixed
02-01-13 10:44 ferg Fixed in Version  => 4.0.35

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker