[luatex] Localisation of Lua or LuaTeX

Philipp Stephani p.stephani2 at googlemail.com
Fri Mar 2 22:15:21 CET 2012


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.



More information about the luatex mailing list