This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
RE: utf8 varable length encoding support
- From: <attonie at hotmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>, "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Thu, 12 Feb 2015 00:50:30 +0800
- Subject: RE: utf8 varable length encoding support
- Authentication-results: sourceware.org; auth=none
- References: <BAY174-W536F712B2B588CD255CBCA3590 at phx dot gbl>,<54AD05D5 dot 2060002 at redhat dot com> <BAY174-W49739D441895FB90DFA43AA3250 at phx dot gbl>,<54DB7CB4 dot 9040208 at redhat dot com>
Dear libc-help:
How about libutf8? Could it provide something I need ?
Best regards,
Xing
----------------------------------------
> Date: Wed, 11 Feb 2015 17:00:52 +0100
> From: fweimer@redhat.com
> To: attonie@hotmail.com; libc-help@sourceware.org
> Subject: Re: utf8 varable length encoding support
>
> On 02/11/2015 04:54 PM, attonie@hotmail.com wrote:
>
>> It seems that libiconv only do conversation, but I need POSIX compliance utf8 functions, like strcmp, strlen, etc. (for utf8)
>
> UTF-8 was designed a way that ensures the existing string functions work
> as-is. (You may have to replace strchr with strstr, though.)
>
> --
> Florian Weimer / Red Hat Product Security