About CharToNum and Unicode...

Dar Scott dsc at swcp.com
Sat Jul 24 19:18:18 EDT 2004


On Jul 24, 2004, at 5:02 PM, Dar Scott wrote:

>> Hi Folks imagine this string "made with revolution™" where the last 
>> char is that nice trademark symbol made with Option+2. When looping 
>> thru the chars of this string and acquiring their unicode values I 
>> receive correct values for everyone of them, but for the trademark 
>> symbol I am receiving 99 instead of 2112 (which the spec told me is 
>> the correct value) (both base16), any clue anyone?
>
> Did you set useUnicode?

Arg, that was dumb.  You just said they were both base 16 and 99 is not 
21 nor 12.

Dar



More information about the use-livecode mailing list