Aditya Mahajan wrote:
On Mon, 16 Oct 2006, Aditya Mahajan wrote:
On Sun, 15 Oct 2006, Vit Zyka wrote:
Great, thank you Hans!
Let us process to teh next two problems also visible in the test file.
1. [snip]
2. Accented characters inside \typebuffer are type set as \dochar {225}
This seems to be a bug. In utf-8 encoding, if an accented character is the first character of a buffer, it gets typed correctly. All other accented charaters come out as \dochar {225}. \getbuffer works fine.
I forgot to attach the test file. I am attaching it, hoping that the encoding will come out correctly.
Can TeX choose the input encoding while writing files? If not, there may be really no robust way to solve this problem.
Aditya
in core-buf we need to treat the upper half of the vector: \recatcodeuppercharacterstrue % <--- \setcatcodetable\vrbcatcodes in startbuffer (i cannot post a fixed file yet because buffers and verbatim is being reshuffled due to mkii/mkiv preparations) 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 -----------------------------------------------------------------