From: "Marcin 'Qrczak' Kowalczyk" <[EMAIL PROTECTED]>

> Why would UTF-16 be easier for internal processing than UTF-8?
> Both are variable-length encodings.
> 

Performance tuning is easier with UTF-16.  You can optimize for
BMP characters, knowing that surrogate pairs are sufficiently uncommon
that it's OK for them take a bail-out slow path.  

Andy Heninger
IBM, Cupertino, CA
[EMAIL PROTECTED]






Reply via email to