[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using libunistring for string comparisons et al

From: Ludovic Courtès
Subject: Re: Using libunistring for string comparisons et al
Date: Thu, 17 Mar 2011 16:56:32 +0100
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux)

Hi Mark,

Mark H Weaver <address@hidden> writes:

> I have a compromise proposal, which could be implemented for 2.0.x:
> We keep wide (UTF-32) stringbufs as-is, but we change narrow stringbufs
> to UTF-8, along with a flag that indicates whether it is known to be
> ASCII-only.

The whole point of the narrow/wide distinction was to avoid
variable-width encodings.  In addition, we’d end up with 3 cases (ASCII,
UTF-8, or UTF-32) instead of 2, which seems quite complex to me.

What do you think of moving to narrow = ASCII, as I suggested earlier?


reply via email to

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