Hans Åberg <haber...@telia.com> wrote:

>
> > On 16 May 2018, at 10:29, Joerg Schilling 
> > <joerg.schill...@fokus.fraunhofer.de> wrote:
> > 
> > Robert Elz <k...@munnari.oz.au> 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:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to