Aditya Mahajan
$context --pipe
Oh, nice option, that I haven't known yet! :)
*\directlua{os.execute("locale")} LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8"
Strange, here it's: LANG= LC_CTYPE=C LC_NUMERIC=C LC_TIME="POSIX" LC_COLLATE=C LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= And in my environment: LC_CTYPE=en_GB.utf8 When I add to my environment "LANG=en_GB.utf8", then the context output is: LANG=en_GB.utf8 LC_CTYPE=C LC_NUMERIC=C LC_TIME="en_GB.utf8" LC_COLLATE=C LC_MONETARY="en_GB.utf8" LC_MESSAGES="en_GB.utf8" LC_PAPER="en_GB.utf8" LC_NAME="en_GB.utf8" LC_ADDRESS="en_GB.utf8" LC_TELEPHONE="en_GB.utf8" LC_MEASUREMENT="en_GB.utf8" LC_IDENTIFICATION="en_GB.utf8" LC_ALL= So luatex and/or context changes at least LC_CTYPE to C in my case. When I set LC_ALL too, I get the same result as yours.
so context no longer changes the locale.
Just a little bit in some cases ... ;) -- Peter