Hello, When using luatex, utf encoding is not taken into account in pdf-strings. Minimal example: % engine=luatex \enableregime[utf] \setupinteraction[state=start,author=Peter Münster] \starttext Peter Münster \stoptext Output of pdfinfo: Author: Peter Münster Cheers, Peter -- http://pmrb.free.fr/contact/
Hi Peter,
On Tue, 23 Oct 2007 13:30:23 -0600, Peter Münster
When using luatex, utf encoding is not taken into account in pdf-strings. Minimal example:
% engine=luatex \enableregime[utf] \setupinteraction[state=start,author=Peter Münster] \starttext Peter Münster \stoptext
Output of pdfinfo: Author: Peter Münster
Hmm, it works here... =============== Author: Peter Münster Creator: ConTeXt - 2007.08.07 17:52 Producer: luaTeX-0.10.1 =============== But why are you using \enableregime[utf]? I think that's redundant... A curiosity: With \enableregime[utf] commented the file size is 2919 bytes, with it uncommented it's 2918 bytes. I wonder where the extra 1-byte savings with \enableregime[utf] is coming from... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
On 10/23/07, Idris Samawi Hamid
A curiosity: With \enableregime[utf] commented the file size is 2919 bytes, with it uncommented it's 2918 bytes.
I wonder where the extra 1-byte savings with \enableregime[utf] is coming from...
The '%', perhaps? ;) I'd have guessed the 'ü' (U+00FC) can be encoded as the two-byte utf-8 stream or as a single Windows-1252 character, except that it's the utf-8 version that's shorter… --Joel
On Tue, 23 Oct 2007, Idris Samawi Hamid wrote:
% engine=luatex \enableregime[utf]
Hmm, it works here...
=============== Author: Peter Münster Creator: ConTeXt - 2007.08.07 17:52 Producer: luaTeX-0.10.1 ===============
Perhaps, it's the luaTeX version: mine is 0.11.2
But why are you using \enableregime[utf]? I think that's redundant...
With this line, it's easier to compare against MKII: you only need to change engine=luatex to engine=pdftex. Cheers, Peter -- http://pmrb.free.fr/contact/
Peter Münster wrote:
Hello,
When using luatex, utf encoding is not taken into account in pdf-strings. Minimal example:
% engine=luatex \enableregime[utf] \setupinteraction[state=start,author=Peter Münster] \starttext Peter Münster \stoptext
Output of pdfinfo: Author: Peter Münster
some day soon i will rewrite the pdf backend for mkiv Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Idris Samawi Hamid
-
Joel C. Salomon
-
Peter Münster