[OS X TeX] path name

Piet van Oostrum piet at cs.uu.nl
Mon Dec 19 23:24:51 CET 2005


>>>>> Peter Dyballa <Peter_Dyballa at Web.DE> (PD) wrote:

>PD> TeX could learn to accept three bytes that build an UTF-8 code as first
>PD> character' of a TeX file, kind of comment, a super-%. This mark would make
>PD> the file recognised as UTF-8 (I think there are other marks for UTF-7,
>PD> UTF-16, UTF-15?, least or most significant bit or byte first). If TeX would
>PD> accept this mark and switch automatically into the corresponding input
>PD> encoding mode ...

There aren't three bytes at the start of a file that characterize an utf-8
encoded file. So you would have to invent something. You could as well use
the Emacs -*- coding -*- convention.
The problem is that it won't help for files that you get from someone else.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list