This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Question about iconv, UTF 8/16/32 and error reporting due to UTF-16 surrogates.
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-help at sourceware dot org
- Date: Wed, 2 Dec 2015 14:13:11 +0100
- Subject: Re: Question about iconv, UTF 8/16/32 and error reporting due to UTF-16 surrogates.
- Authentication-results: sourceware.org; auth=none
- References: <565EDF7C dot 9020808 at linux dot vnet dot ibm dot com>
On 12/02/2015 01:09 PM, Stefan Liebler wrote:
> when converting characters from UTF-16 to UTF-32 and the byte-sequence
> contains a single low-UTF-16-surrogate (0xdc00 .. 0xdfff), then iconv()
> reports an error "invalid multibyte sequence".
I accidentally replied on libc-alpha (because Stefan posted via Gmane,
and I tried to compensate that â):
<https://sourceware.org/ml/libc-alpha/2015-12/msg00018.html>
Florian