Unicode and the higher planes of existence.

Richmond richmondmathewson at gmail.com
Sat Dec 15 11:30:04 EST 2012


On 12/15/2012 04:40 PM, Peter W A Wood wrote:
> Richmond
>
>> Maybe this is a bit naive; but how does one derive the 2 Hex numbers for a character beyond the
>> Basic Multilingual Plane if one knows the Unicode address?
> The algorithm is explained here - http://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B10000_to_U.2B10FFFF
>
> Implementing it will require you to twiddle bits and no doubt the use of bitAnd, bitOr and bitXor.
>
> I don't have time to take a stab at such a routine right now but will try if you're really stuck.
>
> Regards
>
> Peter
>
>
Thanks.

I'm not stuck as, right now (and probably for at least another 2 years 
if I stick to my GANTT chart) it is neither
here nor there.

I will, as a sort of "kinky Christmas present" to myself, have a go at 
this; and, in the unlikely
event of success will post the results here :)

Richmond.




More information about the use-livecode mailing list