|
|
||
|
(Yes, I checked this even in recent Linux/BSD and older Solaris systems, at it still works, the same goes for most text utils... but don't expect character ranges in regexps like '[ã-ã]' to work, because most apps assume one byte per glyph).
Just my two cents. I would really appreciate Unicode support in Lua. I vote for enforcing UTF-8 as encoding for source files. Python is a somewhat hackish: it tries to detect encoding by using a special comment on the first 5 lines of code like '# -*- encoding: utf-8 -*-'. It works but I think it's quite awkward...
No more awkward than shbang or XML way... I am not a fan of enforcing an encoding scheme.
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --