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: 10427
Joined: Fri Feb 19, 2010 10:17 am

Surrogate pairs

Post by richmond62 »

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 285 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10427
Joined: Fri Feb 19, 2010 10:17 am

Re: Surrogate pairs

Post by richmond62 »

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: 10427
Joined: Fri Feb 19, 2010 10:17 am

Re: Surrogate pairs

Post by richmond62 »

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