[texhax] unicode

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Thu Aug 4 13:52:17 CEST 2005

Alexander Grahn wrote:

> On Wed, Aug 03, 2005 at 10:01:32AM -0700, pierre.mackay wrote:
>>Actually, both of them can be considered Unicode. The difference is that 
>>one is stored in UTF8, which happens to be the same as 8-bit ASCII, and 
>>the second is stored as 16-bit wide characters
> Reading the PDF-spec I found out, that when they say `Unicode' they
> indeed mean `UTF-16 Big Endian'. Hexdumping the PDF-example reveals that
> there is simply a Zero-Byte in front of every ASCII character.
> Therefore my problem can be boiled down to writing such a Zero-Byte into
> the outputfile before each ASCII character. But I don't know how to do
> this with TeX. I experimented with \char"00:

Mebbe ^^@ ?  See p.~35 of Knuth : /The TeXbook/.

More information about the texhax mailing list