Double-Value Unicode?

Dar Scott dsc at swcp.com
Sun May 18 16:55:12 EDT 2014


Hi, everybody!

My comments on this topic have been terse and cryptic and thus less helpful that they should be.  To make up for that I made a introduction to LiveCode and surrogates and sent it to this list.  Unfortunately, the list software recognized it as belabored and is holding it for approval.  

So, we might get in in the list mail, sometime.  Maybe.

Dar Scott
Libraries and Externals
dba Dar Scott Consutling

On May 16, 2014, at 5:58 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> Hi All:
> 
> I thought I had figured out the display of Unicode glyphs in LC 6.6, and
> then ran up against a threshold where the value of a character is
> displayed as two values.  I'm guessing this is related to a "double-byte"
> something or other.  How does one retrieve the value of a character as a
> single value?
> 
> For example, I can set the htmlText of a field to 📞 and get the
> correct unicode character to display.  But when retrieving the value for
> the character, I get: ��
> 
> Can I encode/decode/jumpcode/flipcode something here to get a single value
> representation of the character?
> 
> (Also, I'm unable set the value of the by setting the unicodeText to
> numToChar(128222) -- only using the htmlText property seems to work).
> 
> 
> Thanks for helping out this uniclueless dude.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list