Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'memory.': 0.07; 'see:': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; '"*"': 0.16; "'''": 0.16; 'command:': 0.16; 'fails.': 0.16; 'latter,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:fails': 0.16; 'wrote:': 0.18; "python's": 0.19; 'typing': 0.19; 'command': 0.22; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'url:bugs': 0.29; 'am,': 0.29; 'specified': 0.30; '(which': 0.31; 'code': 0.31; 'url:python': 0.33; 'subject: (': 0.35; 'but': 0.35; 'similar': 0.36; 'url:org': 0.36; 'reports': 0.37; 'to:addr:python-list': 0.38; 'explain': 0.39; 'reported': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'how': 0.40; 'received:173': 0.61; 'email addr:gmail.com': 0.63; 'more': 0.64; 'here': 0.66; 'prompt': 0.68; '8bit%:84': 0.69; 'behavior': 0.77; 'pasting': 0.84; 'received:fios.verizon.net': 0.84; 'victor': 0.84; 'device.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: CP65001 fails (was re: ...) Date: Sat, 14 Dec 2013 13:43:41 -0500 References: <201312090824.25211.gheskett@wdtv.com> <52A78F6F.3060507@stoneleaf.us> <5b62c6f8-fb92-48ef-a59a-6025b9b39994@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.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: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387046636 news.xs4all.nl 2863 [2001:888:2000:d::a6]:44360 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61909 On 12/14/2013 9:03 AM, wxjmfauth@gmail.com wrote: > D:\>chcp 65001 > Page de codes active : 65001 > D:\>echo "*" > "*" Try pasting *your* original echo command: echo "=E1=88=B4=C3=A9=E2=82=AC=E3= =91=96=D0=83=E2=8C=B4*" To repeat, here is what I see: ''' C:\Users\Terry>echo "?=E2=80=9A????*" "?=E2=80=9A????*" C:\Users\Terry>chcp 65001 Active code page: 65001 C:\Users\Terry>echo "*" The system cannot write to the specified device. ''' To repeat, the second time I paste: echo "=E1=88=B4=C3=A9=E2=82=AC=E3=91=96= =D0=83=E2=8C=B4*" but Command Prompt only displays: echo "*". Typing in the latter,=20 ascii-only, command is meaningless. A similar test: ''' C:\Users\Terry>more ^Z C:\Users\Terry>chcp 65001 Active code page: 65001 C:\Users\Terry>more Not enough memory. ''' This was reported by Victor Stinner as part of http://bugs.python.org/issue19914 to explain how cp65001 causes behavior like this with Python's=20 interactive help() function (which more for paging on Windows). >>> help(str) Not enough memory. See http://stackoverflow.com/questions/3401802/codepage-850-works-65001-fails= -there-is-no-response-to-call-foo-cmd-interna for other reports that cp65001 fails. It is not just me. --=20 Terry Jan Reedy