[Dev-luatex] bug in os.execute?

taco taco at elvenkind.com
Tue Jun 8 19:30:10 CEST 2010


Elie Roux wrote:
> Taco Hoekwater a écrit :
>> I don't think this is a bug, it is documented behavior (p 33 of the 
>> manual):
>>
>> In stock Lua, many things depend on the current locale. In LuaTEX, we 
>> can't do that, because it makes
>> documents unportable. While LuaTEX is running if forces the following 
>> locale settings:
>> LC_CTYPE=C
>> LC_COLLATE=C
>> LC_NUMERIC=C
> 
> Ok, thank you! Is there a workaround for this? Or how should I change 
> the program so that it works?

don't use an empty second argument to setlocale(). If you already
know that you want UTF-8, set it to a suitable value instead.

Best wishes,
Taco



More information about the dev-luatex mailing list