Re: About Unicode CJK Unified Extension B
- On 3/1/06, Edward G.J. Lee <edt1023@...> wrote:
> We need four bytes, I think? We need cover the Unicode range fromWe need ceil(log2(0x10FFFF)) = 21 bits, or, more realistically, 24
> 0x10000 to 0x10FFFF.
bits, or, even more realistically, 32 bits. I don't think we need to
worry about memory consumption for the display of characters though.
At least on any modern system. Perhaps the MS-DOS port needs special
- I have made changes to the code to use 32 bits for storing Unicode
characters. It's included in last nights snapshot.
I have no way to try it out. It's not unlikely that there are a few
For Win32 I changed the conversion from UTF-8 to UCS-2 to produce
UTF-16. I don't know if that is sufficient for drawing the characters.
GTK2 does everything with UTF-8, thus it should work as it is.
I also added 'maxcombine' to support up to 6 combining characters.
That's enough for everyone, right?
hundred-and-one symptoms of being an internet addict:
51. You put a pillow case over your laptop so your lover doesn't see it while
you are pretending to catch your breath.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://www.ICCF.nl ///