Re: [dev-context] lpdf-ini.lmt: lpdf.tosixteen(), wrong conversion to UTF-16BE

2021-02-12 Thread Michal Vlasák
On Tue Feb 9, 2021 at 7:49 PM CET, Hans Hagen wrote: > On 2/9/2021 6:57 PM, Michal Vlasák wrote: > > Hello, > > > > conversion to UTF-16BE PDF strings used for example in bookmarks / PDF > > outlines is not right. > > > > Take the followi

[dev-context] lpdf-ini.lmt: lpdf.tosixteen(), wrong conversion to UTF-16BE

2021-02-09 Thread Michal Vlasák
turn v ``` (Note the similiarity to existing function `big()` in l-unicode.lua.) I found this by chance, but I am not really a ConTeXt user, so I hope didn't miss anything. Regards, Michal Vlasák if not modules then modules = { } end modules ['lpdf-ini'] = { version = 1.001, optimize =