Re: support for 32-bit Unicode (using UTF-16?)


Subject: Re: support for 32-bit Unicode (using UTF-16?)
From: Anthony Fok (anthony@thizlinux.com)
Date: Mon Feb 04 2002 - 05:34:44 CST


On Mon, Feb 04, 2002 at 10:02:40AM -0000, Tomas Frydrych wrote:
> I agree that having 32 UT_UCSChar would vaste lot of memory, and
> I would like to see a case made first why we need to support 32-bit
> Unicode.

One more note: If memory space is an issue, consider using UTF-16
with surrogate pairs. See http://www.unicode.org/unicode/faq/utf_bom.html
for more information. I heard from my colleague that OpenOffice.org uses
UTF-16 internally. (BTW, glibc uses UCS4 internally AFAIK.)

Cheers,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/



This archive was generated by hypermail 2b25 : Mon Feb 04 2002 - 05:26:19 CST