On Thu, 15 May 2008, Will Robertson wrote:

 > I think I'd like to propose a "forwards compatibility" disabling in this
 > package that detects the presence of XeTeX or LuaTeX (or Aleph or Omega if
 > there's any continued use of those programs) and finishes gracefully without
 > trying to turn the UTF8 octets into active chars. The package can still serve
 > the useful purpose of switching the input encoding of the document (in XeTeX
 > at least).

Just trying to understand your proposal...

Are your proposing something like this at the beginning of inputenc.sty:

 \ifThisIsXeTeX
   \switchInputEncodingTo{\optarg}
 \endinput \fi

? If so, is there a simple implementation of \ifThisIsXeTeX ?

 Rainer Schöpf