tech-userlevel archive

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

Re: A draft for a multibyte and multi-codepoint C string interface



On Mon, Apr 15, 2013 at 01:50:54PM -0400, Mouse wrote:
> 
> > using in all these languages the ASCII codepoints will make
> > impossible to deduce automatically the direction of rendering;
> 
> I don't see that as any more of a problem than it is that it's
> impossible to deduce the language upon seeing the word "pain" (which,
> for the benefit those of you not as francophone as I feel sure tlaronde
> is, is a perfectly good word in French as well as in English).

But I use as an heuristic not a semantic guess, but a numeric range:
french is in the latin-1 range, that includes the ASCII range and this
is all for left-to-right ;)

-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                      http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index