-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.2
-
sparc
-
solaris_8
If HTTP request had content-type as "iso-latin-1", jdk don't recognize the charset which
is equivalent to ISO8859_1.
HTMLTranslator caught UnsupportedEncoding exception when translating
java.io.UnsupportedEncodingException: iso-latin-1
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at
java.io.UnsupportedEncodingException.<init>(UnsupportedEncodingException.java:37)
at sun.io.Converters.getConverterClass(Compiled Code)
at sun.io.Converters.newConverter(Compiled Code)
at
sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:71)
at java.lang.String.getBTCConverter(String.java:128)
at java.lang.String.<init>(String.java:403)
at java.lang.String.<init>(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translateSB(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translate(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.Session.processNextRequest(Compiled Code)
at
com.iplanet.portalserver.gateway.server.HTTPConnectionManager$1.run(Compiled Code)
at com.iplanet.portalserver.gwutils.ThreadPoolThread.run(Compiled Code)
It is basically because jdk doesnt support iso-latin-1. This exception was thrown when
the Gateway was trying to translate the below request from the client.
Session: Request:
GET /intranet/ HTTP/1.0
Host: xxxxxxxx.group-net.de
Referer: http://xxxxxx.muc:8080/DesktopServlet
Connection: Keep-Alive^M
User-Agent: Mozilla/4.77 [en] (X11; U; SunOS 5.6 sun4u)
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
is equivalent to ISO8859_1.
HTMLTranslator caught UnsupportedEncoding exception when translating
java.io.UnsupportedEncodingException: iso-latin-1
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at
java.io.UnsupportedEncodingException.<init>(UnsupportedEncodingException.java:37)
at sun.io.Converters.getConverterClass(Compiled Code)
at sun.io.Converters.newConverter(Compiled Code)
at
sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:71)
at java.lang.String.getBTCConverter(String.java:128)
at java.lang.String.<init>(String.java:403)
at java.lang.String.<init>(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translateSB(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translate(Compiled Code)
at
com.iplanet.portalserver.gateway.connectionhandler.Session.processNextRequest(Compiled Code)
at
com.iplanet.portalserver.gateway.server.HTTPConnectionManager$1.run(Compiled Code)
at com.iplanet.portalserver.gwutils.ThreadPoolThread.run(Compiled Code)
It is basically because jdk doesnt support iso-latin-1. This exception was thrown when
the Gateway was trying to translate the below request from the client.
Session: Request:
GET /intranet/ HTTP/1.0
Host: xxxxxxxx.group-net.de
Referer: http://xxxxxx.muc:8080/DesktopServlet
Connection: Keep-Alive^M
User-Agent: Mozilla/4.77 [en] (X11; U; SunOS 5.6 sun4u)
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8