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: Anthony J. Bentley
Subject: Re: [Nmh-workers] nmh architecture discussion: format engine character set
Date: Mon, 10 Aug 2015 11:35:44 -0600

Ken Hornstein writes:
> - The POSIX standard functions for this, wcwidth() and wcswidth(), work
>   on the current locale, which is not guaranteed to support UTF-8 (or
>   even support 8-bit characters).

Yes, but can't setlocale() temporarily change it to a UTF-8 locale?

Granted, there's no guarantee that a UTF-8 locale exists and what it's
called if it does exist, but maybe it would be appropriate to have a
configure check to find one?

-- 
Anthony J. Bentley



reply via email to

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