Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170213171359.GJ1520@brightrain.aerifal.cx>
Date: Mon, 13 Feb 2017 12:13:59 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Re: a bug in bindtextdomain() and strip '.UTF-8'

On Mon, Feb 13, 2017 at 10:12:13PM +0800, He X wrote:
> I dont know how, but it's indeed GBK, even with musl, vim indeed generated
> GBK set files, maybe it's because im using gnu
> gettext(without-included-gettext). I think we should avoid this issue
> depending on a check of libc, rather than assuming all .mo files are UTF-8
> set.

Support for non-UTF-8 .mo files won't be added. It means wasting lots
of memory per-process to keep converted copies in-core rather than
mapping from disk. msgfmt just needs to be fixed not to produce
non-UTF-8 output. (It also needs to be fixed to handle SYSDEP strings
correctly.)

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.