Python's handling of unicode surrogates

Ross Ridge rridge at caffeine.csclub.uwaterloo.ca
Sun Apr 22 16:46:20 EDT 2007


Rhamphoryncus  <rhamph at gmail.com> wrote:
>I wish to write software that supports Unicode.  Like it or not,
>Unicode goes beyond the BMP, so I'd be lying if I said I supported
>Unicode if I only handled the BMP.

The Unicode standard doesn't require that you support surrogates, or
any other kind of character, so no you wouldn't be lying.

Also since few Python programs claim to support Unicode, why do you
think it's acceptable to break them if they don't support surrogates?

				Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge at csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  



More information about the Python-list mailing list