nmh-workers
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]