Hans Åberg <[email protected]> wrote:
>
> > On 16 May 2018, at 10:29, Joerg Schilling
> > <[email protected]> wrote:
> >
> > Robert Elz <[email protected]> wrote:
> >
> >> How does one specify a locale for some area using Latin as its
> >> language, where I V X L C D M are the digits ?
> >
> > how do you like to specify a hexadecimal number in this locale?
>
> They have no need for that in Latin, as "hexa" is Greek. :-) Otherwise, you
> might check what the ECMAscript and C++ regex library do, which have some
> Unicode support.
What do you expect:
strtol("\u4e00\u4e8c\u4e09", &endp, 0);
to return in a japanese locale and what do you expect:
strtol("0XC", &endp, 0);
to return in a latin locale?
Jörg
--
EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
[email protected] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'