Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.104 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'message- id:@glegroupsg2000goo.googlegroups.com': 0.16; 'reply- to:addr:comp.lang.python': 0.16; 'subject:Unicode': 0.16; 'to:addr:comp.lang.python': 0.16; 'cc:addr:python-list': 0.17; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'code': 0.24; 'thanks.': 0.27; 'instead': 0.29; 'cc:addr:python.org': 0.30; 'separated': 0.30; 'agree': 0.32; 'points': 0.34; 'characters': 0.34; 'header:User-Agent:1': 0.35; 'using': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'received:209.85.213': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'received:209': 0.39; 'your': 0.60; 'to:addr:googlegroups.com': 0.63; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'reply- to:addr:googlegroups.com': 0.73 Newsgroups: comp.lang.python Date: Wed, 22 Jun 2011 06:43:59 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=99.31.60.37; posting-account=En0C2QoAAABaZIRqpPv0m3w3Duh5br5m User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: Unicode codepoints From: Saul Spatz To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 2 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308750248 news.xs4all.nl 49178 [::ffff:82.94.164.166]:47465 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8208 Thanks. I agree with you about the generator. Using your first suggestion, code points above U+FFFF get separated into two "surrogate pair" characters fron UTF-16. So instead of U=10FFFF I get U+DBFF and U+DFFF.