[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/48427: libedit shouldn't require ISO 10646
The following reply was made to PR lib/48427; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: lib/48427: libedit shouldn't require ISO 10646
Date: Sat, 7 Dec 2013 10:42:31 +0100
On Fri, Dec 06, 2013 at 04:15:04PM -0800, Yuri wrote:
> On 12/06/2013 16:05, Thomas Klausner wrote:
> > Do I understand correctly that you're saying that what the user
> > defines in the environment changes how wchar_t is defined?
> No, wchar_t by definition holds numeric values of the character code
> points wider than 8 bits, for various character sets.
> Particular character set represented by wchar_t may vary depending
> on the choice of the user.
> Your compile time limit of the character set to UCS is too narrow.
> Character set should be allowed to vary at the runtime. And any
> character set limitations should be done at the runtime too.
I don't know much about this stuff, but I can easily imagine that
wchar_t always contains UCS and that there is a translation layer
between the user-visible encoding and the one in wchar_t.
I'll let someone who knows more about this stuff continue this
Main Index |
Thread Index |