Why UTF-32 instead of UTF-16 if we have surrogate pairs?

Posted by zildjohn01 on Stack Overflow See other posts from Stack Overflow or by zildjohn01
Published on 2009-03-09T04:31:34Z Indexed on 2010/04/25 5:23 UTC
Read the original article Hit count: 261

Filed under:
|

If I understand correctly, UTF-32 can handle every character in the universe. So can UTF-16, through the use of surrogate pairs. So is there any good reason to use UTF-32 instead of UTF-16?

© Stack Overflow or respective owner

Related posts about unicode

Related posts about surrogate-pairs