« Return to Thread: [Request] How about adding with-locale?

Re: [Request] How about adding with-locale?

by Ludovic Courtès-3 :: Rate this Message:

| View in Thread

Hi,

Mark H Weaver <mhw@...> skribis:

> Nala Ginrut <nalaginrut@...> writes:
>> I know it's not the best implementation, I didn't consider the
>> multi-threads situation.
>
> Yes, unfortunately there is no way to set the locale on a per-thread
> basis.  This is a limitation of the C library.

There’s uselocale(3) in POSIX 2008, implemented in GNU and Darwin.

Could be a useful addition to (ice-9 i18n)?

Ludo’.


 « Return to Thread: [Request] How about adding with-locale?