[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] nmh architecture discussion: format engine character s
From: |
Christian Neukirchen |
Subject: |
Re: [Nmh-workers] nmh architecture discussion: format engine character set |
Date: |
Wed, 12 Aug 2015 16:35:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ralph Corderoy <address@hidden> writes:
> Hi Ken,
>
>> > > So ... what would that mean, exactly? Ignore the locale setting
>> > > and always output UTF-8?
>> >
>> > Well, yes, the code would be writing UTF-8, with the knowledge of
>> > how many cells have been occupied, e.g. one for the combining `a⃞',
>> > but it could complain about the non-UTF-8 locale setting, or try and
>> > set up `fire and forget' converter on open and opening files if it
>> > was easy enough to be worth the bother.
>>
>> Help me out here, because I'm trying to translate your concepts into
>> actual code and I'm having some problems seeing how it would work.
>
> Geez, how much hand-waving do you want a guy to do? :-)
>
>> Assuming we don't bring in a library like ICU,
>
> GNU's libunistring might be an alternative to ICU.
> http://www.gnu.org/software/libunistring/
This small lib could be useful as well, expat-licensed and could even
be vendored:
https://github.com/JuliaLang/utf8proc
--
Christian Neukirchen <address@hidden> http://chneukirchen.org
- [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/09
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ralph Corderoy, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, David Levine, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ralph Corderoy, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ralph Corderoy, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ralph Corderoy, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set,
Christian Neukirchen <=
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Anthony J. Bentley, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/10
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Oliver Kiddle, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Jon Steinhart, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Earl Hood, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Earl Hood, 2015/08/11
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Jon Steinhart, 2015/08/11