[luatex] problem with slnunicode's find

Patrick Gundlach patrick at gundla.ch
Tue Mar 2 16:11:32 CET 2010


> is a bit misleading, since just unicode.utf8.find is again not Unicode-aware.


This is not true. It just returns the position in bytes. What would you suggest the following statement returns?

str="aö"
unicode.utf8.find(str,"\182")  -- (ö's utf8 values are 195 and 182)



Patrick


More information about the luatex mailing list