Interesting, I noticed this too.

    I would favour first to check why Microsoft uses a '-'
    instead of '_' and if the mapping to the locales really is
    always the same except the '-'.

    - Markus

    ps: I don't think this sort of check/hack belongs into PHP;
    not without further investigation at least.

On Sat, Apr 13, 2002 at 12:04:55AM -0400, fabwash wrote : 
> Hi all,
> 
> my browser (IE6) sends en-us in the HTTP_ACCEPT_LANGUAGE instead of the usual en_US. 
>Would it be a good idea to modify setlocale (in ext/standard/string.c) so that it 
>upshifts what is after the "-" before calling the local setlocale, or do you think 
>that should be done by the user?
> 
> Fab.

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to