[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: Patch: character encoder/decoder cleanup/fixes
From: |
Archie Cobbs |
Subject: |
Re: [cp-patches] FYI: Patch: character encoder/decoder cleanup/fixes |
Date: |
Wed, 17 Nov 2004 08:51:56 -0600 (CST) |
Jeroen Frijters wrote:
> I committed the attached patch to remove the throwing of
> CharConversionException from the character encoders/decoders.
>
> For encoders, unsupported characters are now always replaced with a '?'
> byte and for the UTF8 decoder, invalid UTF-8 bytes are replaced by a
> Unicode REPLACEMENT CHARACTER (\uFFFD) in the output stream.
Just curious.. does this implementation have the same problem as
described in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4628881 ?
I.e., is it a lossy encoding for "invalid" characters?
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com