[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] nmh architecture discussion: format engine character s
From: |
Oliver Kiddle |
Subject: |
Re: [Nmh-workers] nmh architecture discussion: format engine character set |
Date: |
Tue, 11 Aug 2015 14:33:23 +0200 |
Ken Hornstein wrote:
> Even if it can, I am unsure we can maintain
> the correct column position when dealing with things like combining
> characters.
That is possible. wcwidth() returns 0 for combining characters.
Do we have any specific cases where forcing a UTF-8 assumption actually
helps? The POSIX API is clumsy but the fact that it deals in the current
locale rather than UTF-8 doesn't make much difference. The code needs an
API to know stuff like how wide a string is. Knowing you have a UTF-8
encoding doesn't really gain you anything.
I think it'd be better to focus on real features. So if you want, for
example, character substitution on conversion failure and libunistring
helps then configure can check for it and disable the feature if it
isn't found. As an aside, that particular feature only sounds useful if
you're actually using a non-UTF-8 locale.
Given that nmh is BSD licenced, I'd probably favour libicu over
libunistring just for its licence. Checking on a Debian system, neither
have vast numbers of reverse dependencies.
Oliver
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, (continued)
- 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, 2015/08/12
- 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 <=
- 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
- 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, Ralph Corderoy, 2015/08/12
- Re: [Nmh-workers] nmh architecture discussion: format engine character set, Ken Hornstein, 2015/08/12