27 Jan
2017
27 Jan
'17
12:48 p.m.
Hello, does ConTeXt contain a built-in Lua conversion routine to convert text in UTF-16 (and others) to UTF-8 string? Something like: ---- \startluacode local str = "A unicode string" -- Or e.g. string loaded from a file str = convert(str, "utf16", "utf8") context(str) \stopuacode ---- TIA. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038