[tex-live] xelatex + files with non-ascii chars

Philipp Stephani p.stephani2 at googlemail.com
Wed Aug 10 23:03:38 CEST 2011


2011/8/10 Ulrike Fischer <news3 at nililand.de>:
>
> When I try to compile a "büro.tex" with xelatex I get a quite
> curious error (miktex on win xp)
>
> I:\Z-Test>xelatex büro
> This is XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9)
> entering extended mode
> ! Undefined control sequence.
> <*> b^^?^^³
>           ro
> ? x
> No pages of output.
>
> I get a similar error with miktex 2.8 on a win7 (only the umlaut is
> encoded differently on the terminal).

Seems that the XeTeX program doesn't read the command line correctly.
It should use the UTF-16 functions (GetCommandLineW) or any of its
wrappers, e.g.
   int main(int argc, wchar_t **argv)
using Visual Studio.



More information about the tex-live mailing list