commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DecoderUS_ASCII


From: Tom Tromey
Subject: Re: DecoderUS_ASCII
Date: 15 Jul 2004 16:48:43 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Roman" == Roman Kennke <address@hidden> writes:

Roman> 2004-07-15  Roman Kennke  <address@hidden>
Roman>  * gnu/java/io/decode/DecoderUS_ASCII.java:
Roman>  Added decoder for ASCI decoding of Unicode.
Roman>  * java/lang/System.java:
Roman>  Registered new US_ASCII decoder.

Roman>      // XXX FIXME - Cheat a little for ASCII.
Roman>      // Remove when we get a real "ASCII En/Decoder"

You might as well remove this FIXME...
Also, do we need a corresponding ASCII encoder?

A couple nits about the implementation: it doesn't really follow the
current coding standard.  Also, having a table for the identity
function seems a little excessive, but really I don't care much.

One bigger problem is that, from what I recall, the JDK treats ASCII
just like 8859-1 -- and that Java programs rely on this.  Perhaps the
alias really is the best thing to do... ?

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]