No longer, thanks to the good offices of Scott Rossi:
Wrestling with Surrogate pairs for Unicode
Moderator: Klaus
-
- Livecode Opensource Backer
- Posts: 10081
- Joined: Fri Feb 19, 2010 10:17 am
Re: Wrestling with Surrogate pairs for Unicode
Hi Richmond,
I visited this webpage:
http://www.russellcottrell.com/greek/ut ... ulator.htm
and tested the webpage results against your stack.
Why your stack shows this result?
Enter Pair Numbers here
55241 + 56228 = 9124
Enter Unicode address here
10012 = 55241 + 56228
Thanks in advance!
I visited this webpage:
http://www.russellcottrell.com/greek/ut ... ulator.htm
and tested the webpage results against your stack.
Why your stack shows this result?
Enter Pair Numbers here
55241 + 56228 = 9124
Enter Unicode address here
10012 = 55241 + 56228
Thanks in advance!
-
- Livecode Opensource Backer
- Posts: 10081
- Joined: Fri Feb 19, 2010 10:17 am
Re: Wrestling with Surrogate pairs for Unicode
Confession Time:
"MOD 104" is NOT "MOD 1024"
entirely my fault.
Sorry.
New version here, including something to catch Unicode addresses below Hex 10000:
Many thanks to Alejandro Tejada for pointing out there was a problem.
"MOD 104" is NOT "MOD 1024"
entirely my fault.
Sorry.
New version here, including something to catch Unicode addresses below Hex 10000:
Many thanks to Alejandro Tejada for pointing out there was a problem.
Re: Wrestling with Surrogate pairs for Unicode
With LiveCode 7 you will be able to access code points and (probably) code units. Even if code units are awkward, it would still be possible to get the textEncoding(). The computation will be both less important and easier.
-
- Livecode Opensource Backer
- Posts: 10081
- Joined: Fri Feb 19, 2010 10:17 am
Re: Wrestling with Surrogate pairs for Unicode
That has got to be good 
Roll on a stable version of 7.0.

Roll on a stable version of 7.0.