This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java/2319: invalid UTF-8 sequences should be rejected


On 19 Mar 2001 tromey@redhat.com wrote:

> Currently the compiler accepts invalid UTF-8 sequences
> when reading a file.  Instead we ought to diagnose
> such sequences as errors.

Also note that the invalid sequences that should be rejected include
over-long sequences and UTF-8 encodings that would map to values in the
UTF-16 surrogate range.

http://www.cl.cam.ac.uk/~mgk25/unicode.html
http://www.unicode.org/unicode/uni2errata/UTF-8_Corrigendum.html

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]