[luatex] Localisation of Lua or LuaTeX

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Mar 3 08:23:22 CET 2012


Am 02.03.2012 22:15, schrieb Philipp Stephani:
> Am 1. März 2012 22:31 schrieb Herbert Voss<Herbert.Voss at fu-berlin.de>:
>> Am 01.03.2012 22:23, schrieb Philipp Stephani:
>>
>>> Am 1. März 2012 18:06 schrieb Herbert Voss<Herbert.Voss at fu-berlin.de>:
>>>>
>>>> However, I also do not understand, why Lua doesn't
>>>> take the current setting, which is already de_DE.UTF-8
>>>> into account.
>>>
>>>
>>> That is intentional, see the last paragraph of section 3.2 of the manual.
>>
>>
>> that refers to LuaTeX but I meant Lua
>
> I see.  The reason here is inherited from the C behavior: The global
> locale before the first call to setlocale() is always the "classic"
> locale.  On Linux, you have to call os.setlocale("") to take the
> locale settings from the environment.

Ah ok, I missed that

thanks
Herbert


More information about the luatex mailing list