|
Message-ID: <20130425121801.GL20323@brightrain.aerifal.cx> Date: Thu, 25 Apr 2013 08:18:01 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: High-priority library replacements? On Thu, Apr 25, 2013 at 09:34:35AM +0200, Jens Staal wrote: > On 2013-04-25 07:55, Kurt H Maier wrote: > >On Thu, Apr 25, 2013 at 12:15:53AM -0400, Rich Felker wrote: > >> > >>1. A light, C, UTF-8-only Unicode library. > > > >The only one I know of that might not already be common knowledge is > >Connor Lane Smith's libutf: https://github.com/cls/libutf > > Does it work as a drop-in replacement for unixy utf/wchar > implementations This is exactly what libutf does. It's not a Unicode library in the form I described; it's just a workaround for broken systems lacking UTF-8 locales, for which it replaces all the important functions (mb*towc and wc*tomb, etc.) with versions that convert UTF-8. I believe it also replaces the is* and to* functions and maybe a few others. But it doesn't help with any Unicode processing needs the application might have outside the scope of C or POSIX, and it's not meant to be used on systems that already have proper UTF-8 support at the system library level. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.