Re: unicode length

new topic     » goto parent     » topic index » view thread      » older message » newer message

Take a look at the Euphoria Unicode branch of the SCM. Also, ulength would give the wrong result for things like a sequence of bus numbers, or temperatures. For utf32, the generic sequence functions should work out of the box, which is probably why Derek was/is an advocate for using this encoding for actually working with strings. You can prefix them or not and put them all together in one file called utf8.e .

include utf8.e as u8 
 
? u8:ulength("Hello") 

I think it would probably drive me crazy if it were named length() though. ;)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu