Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Unicode surrogate pairs (Python 3.4) Date: Sun, 03 May 2015 18:35:17 +0300 Organization: A noiseless patient Spider Lines: 10 Message-ID: <87fv7disi2.fsf@elektro.pacujo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="14971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jJzlc6z6cSQK7eOG34+we" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:+XDG6cayZLTGvokKLJs0L/QRmUQ= sha1:0Ki6qzeV/UkNrJ32xKVLCEK6G7g= Xref: csiph.com comp.lang.python:89874 Jon Ribbens : > Python doesn't appear to have UCS-2 support, so I guess what you're > saying is that I have to write my own surrogate-decoder? This seems a > little surprising. Try UTF-16. Marko