lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> int utf8_isalpha(int ch)
> {
>   return 
>   ( 
>     isalpha(ch) 
>     || ((ch >= 0x80) && (ch <= 0xfd)) 
>   ); 
> }

I don't see how this deals with UTF-8 at all ?

Surely to do so you need to combine characters that
are multi-byte prefixes, otherwise its just 8 bit
ASCII ?

Love, Light and Peace,

- Peter Loveday
Director of Development, eyeon Software