numToChar with socking great numbers

Richmond richmondmathewson at gmail.com
Mon Jan 13 02:15:04 EST 2014


On 13/01/14 01:43, Fraser Gordon wrote:
> You need two numToChar calls:
>
> numToChar(55357)+ numToChar(56832)
>
> The Unicode engine will fix this with a new call that handles surrogate
> pairs automatically and invisibly but numToChar will probably have to
> retain the mod-65536 behaviour for compatibility.
>
> Regards,
> Fraser
>
>

Thank you very much for that.

So, Livecode does work with surrogate pairs; just that I didn't know the 
syntax,
and couldn't find any reference to it in the documentation.

Richmond.




More information about the use-livecode mailing list