Unicode from Variable?

Kenji Kojima index at kenjikojima.com
Tue Nov 25 19:20:54 EST 2008


Hi,

If you like to handle UTF16 directly. You can use function  
countUnicodeLines and unicodeLineOffset.

I made a Japanese sorting stack before. You can see the functions in  
the stack.
go stack url "http://www.kenjikojima.com/runrev/handbook/download/JpnSortStudy.rev 
"

You cannot use "the num of lines" and "lineOffset" for UTF16.  
Sometimes you get wrong numbers.

And it may help too.
go stack url "http://www.kenjikojima.com/runrev/handbook/download/JpnGetChars.rev 
"

Also you can convert UTF16 to UTF8.
--
Kenji Kojima
http://www.kenjikojima.com/






More information about the use-livecode mailing list