On Mon, Apr 15, 2013 at 11:40:57PM +0900, Takehiko NOZAKI wrote: > POSIX2008 spec say, *_l func with invalid locale handle may EINVAL. > NULL or (locale_t)0 is invalid locale handle. > why are you think fallback to C locale?
That's what Apple and FreeBSD provide and which is actually quite useful. Wanting access to the C locale is the most common case for many locale issues. Making that easy sounds like a good idea in general. Joerg