Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'encode': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:()': 0.09; 'tcl/tk': 0.09; 'codec': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:3.3': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.17; 'windows': 0.19; '"",': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'supported': 0.26; '(most': 0.27; 'newer': 0.27; 'fixed': 0.28; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; '>>>>': 0.29; 'character': 0.29; 'no,': 0.29; 'file': 0.32; 'idle': 0.33; 'traceback': 0.33; 'handle': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; "can't": 0.34; 'received:org': 0.36; 'but': 0.36; 'characters': 0.36; 'limitation': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'received:46': 0.60; 'skip:u 10': 0.60; 'most': 0.61; 'subject:, ': 0.61; 'different.': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Serhiy Storchaka Subject: Re: Py 3.3, unicode / upper() Date: Thu, 27 Dec 2012 21:00:37 +0200 References: <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 46.185.106.238 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356634864 news.xs4all.nl 6987 [2001:888:2000:d::a6]:42225 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35633 On 19.12.12 17:40, Chris Angelico wrote: > Interestingly, IDLE on my Windows box can't handle the bolded > characters very well... > >>>> s="\U0001d407\U0001d41e\U0001d425\U0001d425\U0001d428, \U0001d430\U0001d428\U0001d42b\U0001d425\U0001d41d!" >>>> print(s) > Traceback (most recent call last): > File "", line 1, in > print(s) > UnicodeEncodeError: 'UCS-2' codec can't encode character '\U0001d407' > in position 0: Non-BMP character not supported in Tk > > I think this is most likely a case of "yeah, Windows XP just sucks". > But I have no reason or inclination to get myself a newer Windows to > find out if it's any different. No, this is a Tcl/Tk limitation (I don't know if this was fixed in 8.6).