UnsupportedEncodingException

Michael Koch konqueror@gmx.de
Wed Sep 29 07:28:00 GMT 2004


On Wednesday 29 September 2004 09:13, Mohan Embar wrote:
> Hi Melanie,
>> >How can i used other encodings? especially
> >windows-1256 or Cp1256? I tried code using
> >'windows-1256' under linux and and it worked correctly
> >without any class references.
>> This probably has to do with the fact that the MinGW
> build doesn't use libiconv and the Linux builds do.
> The encoding you mentioned isn't one of the standard
> gcj encodings. I'm not knowledgeable enough about this
> to elaborate further.

"UTF-8" is a standard encoding, "windows-1256" is obviously not.
(According to 
http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html)
I'm pretty sure the 6 charsets mentioned there are standard of whole 
JDK, not only java.nio.charset.
Michael


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /