>Hi all,
>I've been using setlocale(LC_ALL,"C-UTF-8") for a while now so my C
[quoted text clipped - 9 lines]
>I finally figured out that setlocale(LC_ALL,"en_US.UTF-8") does work.
>So, now for the big question... what the heck changed???
Probably 10.3 made a change in locale name.
>As I said before, I'm certain that I tested the BSD version before...
>that was with CW 8.2 on Mac OS X 10.2.x. Now I'm using CW 9.2 on
>Panther. So it could be just about anything...
>
>Several questions come to mind:
>1.) is the C-UTF-8 locale provided by MetroWerks or Mac OS?
If you're using BSD C, it's the Mac OS. MSL C does provide its own
implementation of locale if it's used instead of BSD C. MSL C
internally supports the unnamed "" locale, "C", and "C-UTF-8". In
addition, users can make their own locales and provide them to MSL via a
data file.
>2.) should the C-UTF-8 locale work with Mach-O BSD-C?
Don't know
>3.) one thing that did have to change as I switched to CW 9 & Panther
>isto use mwcrt1.0. I don't see how this could affect this, but could
>it?
No, that isn't part of it.
Ron

Signature
Metrowerks, one of the world¹s top 100 companies and influencers
in the software development industry. - SD Times May 2004
http://www.sdtimes.com/2004sdt100.htm
Metrowerks, maker of CodeWarrior
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com