On Thu, May 15, 2008 at 11:55 PM, Will Robertson <[log in to unmask]> wrote:
>  \XeTeXinputencoding "\CurrentOption"%
>  \XeTeXdefaultencoding "\CurrentOption"%

Ulrike Fischer reminded me that this can cause a problem when reading
in .aux files (and so) which are always *written* in utf8. I guess we
only want \XeTeXdefaultencoding changed for user ("in-document")
commands of \input and \include. That could prove troublesome...

David mentioned interpreting the input in terms of bytes and using
inputenc as it currently works in vanilla LaTeX; I agree with him that
we probably don't want to do this but it's possible to do this by
setting the encodings above to "bytes".