> If by UCS-2 you actually mean UTF-16, then using surrogates is the > right approach. :) But isn't the whole point of UTF-16 to fool code that believes it's manipulating UCS-2 into a false sense of security? :-) --Guido van Rossum (home page: http://www.python.org/~guido/)