UnsupportedEncodingException under Kaffe?

Godmar Back gback at cs.utah.edu
Tue Feb 2 09:05:56 PST 1999


> 
>     Hi!
> 
>     Has anyone known, how to use different coding (like, Cp1251) under
> Kaffe?
>     What coding are correct?

The Cp1251 encoding is not implemented in kaffe.
To implement it, you need to implement and provide the classes 
kaffe.io.{ByteToChar|CharToByte}Cp1251

	- Godmar

> 
>     Error report:
> [02/01/1999 7:58:57 PST] Sending response headers.
> [02/01/1999 7:58:57 PST] Status: 500 Internal Server Error
> [02/01/1999 7:58:57 PST] Servlet-Error:
> java.io.UnsupportedEncodingException: Cp1251: Cp1251
> [02/01/1999 7:58:57 PST] Content-Type: text/html
> [02/01/1999 7:58:57 PST] java.io.UnsupportedEncodingException: Cp1251
>    at java/lang/Throwable.<init>(37)
>    at java/lang/Exception.<init>(21)
>    at java/io/IOException.<init>(22)
>    at java/io/UnsupportedEncodingException.<init>(24)
>    at kaffe/io/CharToByteConverter.getConverter(75)
>    at java/io/OutputStreamWriter.<init>(32)
>    at maint.service(31)
>    at javax/servlet/http/HttpServlet.service(588)
>    at org/apache/jserv/JServConnection.run(359)
>    at java/lang/Thread.run(245)
> 
>     Thanks!
> 
>     Regards,
>     Vitaly Yermolenko
>     vyermolenko at zt.ukrtel.net
> 
> 
> 
> 



More information about the kaffe mailing list