1 % Test file for inputenc in xe/lua tex.
\r
5 % Synopsis: inputenc fails (and is not needed) in xetex/luatex.
\r
7 % Behaviour improved in inputenc in xetext/luatex
\r
10 \documentclass{article}
\r
12 % trigger xetex behavour udf pdftex
\r
13 \ifx\Umathchar\xxundefined
\r
14 \let\Umathchar\relax
\r
17 \usepackage[utf8]{inputenc}
\r
21 \AUTHOR{David Carlisle}
\r
24 \setbox0\hbox{x£y}\showbox0
\r
26 \inputencoding{ascii}
\r
27 \setbox0\hbox{xy}\showbox0
\r
29 \inputencoding{utf8}
\r
30 \setbox0\hbox{xy}\showbox0
\r
32 \inputencoding{latin1}
\r
33 \setbox0\hbox{xy}\showbox0
\r