Surrogate pairs

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Surrogate pairs

Post by richmond62 » Sat Apr 30, 2016 1:51 pm

Anyone trying to play "silly buggers" with Unicode characters above the first plane on any version of Livecode pre version 7.0
and above will need to calculate surrogate pairs.
surrogacy.png
Attachments
SURROGATER.rev.zip
Here's the puppy!
(9.36 KiB) Downloaded 216 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Surrogate pairs

Post by richmond62 » Sat Apr 30, 2016 2:14 pm

Fresh from my G5 Macintosh (Mac OS 10.5.8) running Livecode 4.5.

Unicode glyph Hex 113377

MAGIC!
Picture 1.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Surrogate pairs

Post by richmond62 » Tue May 03, 2016 6:57 pm

For those of you who are interested (?) here is a screenshot of
some "heavy lifting" going on, which might make sense of the
"noise" about Surrogate Pairs.
Heavy.jpg

Post Reply