8 Jun
2010
8 Jun
'10
5:30 p.m.
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