Unicode and the higher planes of existence.

Richmond richmondmathewson at gmail.com
Wed Dec 12 16:40:08 EST 2012


On 12/12/2012 11:34 PM, J. Landman Gay wrote:
> On 12/12/12 2:53 PM, Richmond wrote:
>>
>> on mouseUp
>>    set the useUnicode to true
>>    set the unicodeText of fld "f1" to numToChar(65940)
>> end mouseUp
>>
>> and when I click on the button I get nothing like anything that should
>> appear (a capital X with a bar through its middle),
>> but something that resembles a badly deformed Hebrew 'Ain'.
>
> Docs say: If the useUnicode property is set to true, the charToNum 
> function returns an integer between zero and 65535.
>
> So it's out of range. It might be doing what it does if useunicode is 
> false -- setting the value to the number div 255.
>

That's a "bother" if one wants to lever writing systems included in the 
Unicode standard at higher addresses.

I wonder if RunRev intend to extend Livecode's capability to cope with 
these writing systems?




More information about the use-livecode mailing list