Unicode and the higher planes of existence.

Peter W A Wood peterwawood at gmail.com
Sat Dec 15 09:40:47 EST 2012


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






More information about the use-livecode mailing list