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