Re: Locales in new libc: eeew!
> > > Definitely Unicode, but he's right that there must be some subset of Unicode
> > > (either ASCII or ISO 8859-1:1987) that should be usable as is...
> >
> > More than that. All characters in unicode do have a name, and that's how
> > they should be referenced: My name is... <N><I><C><O><L><AACUTE><S>.
>
> Unfortunetly, no, your name is <LATIN CAPITAL LETTER N><LATIN SMALL LETTER I>
> <LATIN SMALL LETTER C><LATIN SMALL LETTER O><LATIN SMALL LETTER L>
> <LATIN SMALL LETTER A WITH ACUTE><LATIN SMALL LETTER S>.
The name is whatever you put in files like
/usr/share/i18n/charmaps/ISO-8859-1 . Since the new libc this file is:
<U0041> /x41 LATIN CAPITAL LETTER A
<U0042> /x42 LATIN CAPITAL LETTER B
<U0043> /x43 LATIN CAPITAL LETTER C
<U0044> /x44 LATIN CAPITAL LETTER D
<U0045> /x45 LATIN CAPITAL LETTER E
<U0046> /x46 LATIN CAPITAL LETTER F
<U0047> /x47 LATIN CAPITAL LETTER G
<U0048> /x48 LATIN CAPITAL LETTER H
<U0049> /x49 LATIN CAPITAL LETTER I
The last column is a comment. So we have this indirection layer for mapping
from <U0041> to /x41. Wow, that's useful.. =)
Reply to: