[luatex] Cyrillic in \directlua0
arthur.reutenauer at normalesup.org
Sat Mar 27 17:47:05 CET 2010
> Is someone able and
> willing to explain what the original post was supposed to (and failed)
Basically, it used the good ol' 8-bit LaTeX tricks to map an input
encoding to a font encoding : Unicode character -> LaTeX internal
character control sequence -> 8-bit font slot (via fontenc). That's
what Lua saw (\T2A\CYRZ, etc.)
Ivan, you shouldn't use fontenc at all with LuaTeX, it doesn't work.
Use luaotfload to load an OpenType font, and simply type in UTF-8.
luainputenc is useless in that case, since input is always in UTF-8.
More information about the luatex