This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: utf8 varable length encoding support
- From: Florian Weimer <fweimer at redhat dot com>
- To: attonie at hotmail dot com, "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Wed, 11 Feb 2015 17:00:52 +0100
- 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>
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