This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Locales: Use CLDR matching thousands separator


* Marko Myllynen:

> One perhaps related thing I noticed recently was that neither U+00A0 or
> U+202F are classified as whitespace characters. locales/i18n_ctype has
> this definition (based on ISO/IEC 30112, see
> http://www.open-std.org/jtc1/sc35/wg5/docs/30112d10.pdf document page 30):
>
> space /
>    <U0009>..<U000D>;<U0020>;<U1680>;<U2000>..<U2006>;<U2008>..<U200A>;/
>    <U2028>..<U2029>;<U205F>;<U3000>
>
> Looking at pages about whitespace characters
> (https://en.wikipedia.org/wiki/Whitespace_character) and Unicode spaces
> (http://jkorpela.fi/chars/spaces.html) it seems that a couple of other
> Unicode space characters are also omitted from that list.
>
> Does anyone know is there a particular reason to omit U+00A0 and U+202F
> and few others from the above classification?

I think it is deliberate to get the right behavior from line-breaking
algorithms.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]