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

2021-02-09 Thread Hans Hagen
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 following example: ``` \starttext \setupinteraction[state=start] \placebookmarks[section][number=no] \section[bookmark=필] \stoptext ```

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

2021-02-09 Thread Michal Vlasák
Hello, conversion to UTF-16BE PDF strings used for example in bookmarks / PDF outlines is not right. Take the following example: ``` \starttext \setupinteraction[state=start] \placebookmarks[section][number=no] \section[bookmark=필] \stoptext ``` Produces: for 필 (U+1D544), instead of the