[luatex] Localisation of Lua or LuaTeX

Philipp Gesang gesang at stud.uni-heidelberg.de
Fri Mar 2 09:53:52 CET 2012


On 2012-03-02 09:12, Ralf Meyer wrote:

> Should one refrain from using the os library, or at least its
> localisation aspects, and warn users to avoid it for this reason?

Instead of an answer, here a snippet from the ConTeXt sources
(luat-env.lua):

········································································
-- precautions

os.setlocale(nil,nil) -- useless feature and even dangerous in luatex

function os.setlocale()
    -- no way you can mess with it
end
········································································

Regards
Philipp



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20120302/428f1bcc/attachment.bin>


More information about the luatex mailing list