<div>Hello:</div>
<div> </div>
<div>I got the message from Mojca today. I was planing to write utf-8 patterns for LuaTeX, but I was waiting for the July release of LuaTeX to start with LuaTeX and then see if I could write a single file, that will be read properly both by current TeX and LuaTeX. Something like</div>
<div> </div>
<div>\ifx\undefined\SomethinginLuanotinTeX</div>
<div>\else</div>
<div>
<div> Set up a LuaTeX callback to read latin1 characters and transform them to UTF-8 </div></div>
<div>\fi</div>
<div> </div>
<div>And at the end of the file</div>
<div> </div>
<div>
<div>\ifx\undefined\SomethinginLuanotinTeX</div>
<div>\else</div>
<div>
<div> Restore previous behavour of LuaTeX</div></div>
<div>\fi</div></div>
<div> </div>
<div>But for the existing engines i didn't want a utf-8 file. Indeed, since currently hyphenation patterns are for a specific encoding, it makes sense to have them written in that encoding. initex and friends (pdftex --ini) will always read them right.</div>
<div>I never use XeTeX, I don't need it at all, nor do I read the xu- files (I do not even have them in my computer, no need all that stuff), and I'm likely not the only one, so for anything prior to LuaTeX, pattern files without multibyte characters need to be present.</div>
<div> </div>
<div>That said, I don't mind if you make a copy of my patterns and transform them to UTF-8. Galician is a good language to make experiments with, very few people will be affected if it crashes, so you may sacrifice it along with Slovenian :-)</div>
<div> </div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Since your patterns are auto-generated, it might mean that tools that auto-generate them might need to be adjusted a bit</blockquote>
</div>
<div> </div>
<div>Fortunately not. Indeed, I may use old initex to generate the patterns in any single-byte encoding I wish, just changin the line</div>
<div> </div>
<div>\def\Ti{\encodingreplacements{á é í ó ú ñ ü ï}{^^e1 ^^e9 ^^ed ^^f3 ^^fa ^^f1 ^^fc ^^ef}}</div>
<div> </div>
<div>in the generating file. It does not work for UTF-8, but not because of the tool used but because of processing them with initex.</div>
<div> </div>
<div>I will start playing with LuaTeX at the end of July or even in September, not before.</div>
<div> </div>
<div> </div>
<div>Regards, Javier</div>
<div> </div>