[PATCH] Locales: Use CLDR matching thousands separator

Florian Weimer fw@deneb.enyo.de
Tue Oct 9 09:28:00 GMT 2018


* Marko Myllynen:

> I wonder would it make sense to consider an addition to provide a
> function that would recognize non-breaking spaces, to allow applications
> to detect something like "123 456" as a single number, regardless of the
> exact variant of no-break space used in between.
>
> I'm not sure on what level such an addition should ideally be done
> (standards, GNU/glibc, a higher-level library, perhaps something else),
> so I won't start championing such a change further.

I think this falls under the general processing of Unicode character
processing, and we have only very few of those in glibc, and they are
not widely used by applications, so I'm not sure if glibc would be the
appropriate place.

Sounds more like something for ICU or libunistring to me.



More information about the Libc-alpha mailing list