Am Thu, 16 Apr 2015 18:12:56 +0200 schrieb Ulrike Fischer:

sense to create a package for a single lthenc.dfu and so it should
be distribuated either together with inputenc or with babel-thai
(where lthenc.def resides).

> I have written an lthenc.dfu file to be able to use thai along with
> \usepackage[utf8]{inputenc} (I attach it and hope that is doesn't
> get lost). What is the best way to add it to the system? (I don't
> care about my name in the file. If if is simply added to the base
> distribution like other dfu-files that's fine for me.)
>
> Why trying out the dfu I saw that thai.ldf changes the catcodes of
> all non-ASCII-inputs and so breaks the catcode changes of inputenc.
> So the .dfu only works if inputenc is loaded after babel:
>
> \documentclass[]{article}
> \usepackage[T1]{fontenc}
> %\usepackage[utf8]{inputenc} %doesn't work
> \usepackage[thai]{babel}
> \usepackage[utf8]{inputenc}
> \begin{document}
> ภาษาไทย
> \end{document}
>
> (I wrote the maintainer about the catcodes some days ago but this