Changes between Initial Version and Version 1 of Ticket #5512


Ignore:
Timestamp:
Sep 27, 2011 2:15:01 PM (3 years ago)
Author:
batterseapower
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5512 – Description

    initial v1  
    2121If you change UTF16 to UTF-16 (so we use the builtin encoding rather than iconv) it works, but the output file only contains the first Hi. 
    2222 
    23 I think what is going on here is that iconv does not generate EILSEQ for identity transformations such as that between a UTF-16 text file and our UTF-16 CharBuffers. Since we never get that exception, we can't fix up the lone surrogates we use to encode roundtrip characters. 
     23I think part of what is going on here is that iconv does not generate EILSEQ for identity transformations such as that between a UTF-16 text file and our UTF-16 CharBuffers. Since we never get that exception, we can't fix up the lone surrogates we use to encode roundtrip characters.