On 30/04/2014 12:42, Heiko Oberdiek wrote:
> If a user is able to write code such as above, then he would not
> really need a warning/error of inputenc at all.
>
> But I think it is not the issue here. The typical use case would be
> that the use comes from traditional LaTeX, e.g.:
>
>    \usepackage[utf8]{inputenc}% without fontenc
>
> or
>
>    \usepackage[utf8]{inputenc}
>    \usepackage[T1]{fontenc}
>    \usepackage{textcomp}



yes agreed although rather than inputenc try to guess that the font 
encoding isn't going to work it would probably be better if fontenc
warned if it was on xe/latex with utf8 input encoding that it can't load 
unicode fonts. because on xelatex you'd get exactly the same problems if 
you did

     %\usepackage[utf8]{inputenc}
     \usepackage[T1]{fontenc}
     \usepackage{textcomp}


and changing the messages in inputenc would not help that:-)



I just changed inputenc (again) in svn to give different messages in the 
ascii and utf8 cases (still letting (x-)ascii and utf8(x) through with 
just a warning).


David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________