[luatex] problem with slnunicode's find

Khaled Hosny khaledhosny at eglug.org
Thu Mar 4 22:14:38 CET 2010


On Thu, Mar 04, 2010 at 08:42:42PM +0000, Jonathan Fine wrote:
> Khaled Hosny wrote:
> >On Thu, Mar 04, 2010 at 08:08:56PM +0000, Jonathan Fine wrote:
> >>Yes, Stephan, they do start at zero.  So for Unicode in Lua, Python
> >>would be a good example to study and perhaps follow.
> >
> >Actually, python < 3.0 is a horrible mess Unicode-wise and I'd never
> >ever try to follow it. Python is my favorite programming language, but
> >I'd never call its Unicode support a "good example".
> 
> "Horrible mess":  a provocative statement!

If you have ever tried to manipulate Unicode text in python (even in a
less than 100 lines script), you will see from where this "provocative
statement" came.

> See here for the problems that are recognised and fixed in Python 3.
> 
> http://docs.python.org/dev/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit

I already stated that I'm referring to pre-3.0 python.

> Khaled:  Please suggest, with reasons, a better example to follow.

I don't know much programming languages to suggest any thing, but I
happen to know enough python to "unsuggest" it.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the luatex mailing list