X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Lapo Luchini Subject: Re: The C locale Date: Wed, 23 Sep 2009 07:11:48 +0200 Lines: 47 Message-ID: References: <416096c60908300959i1e0084b1xc8f6e65e792b035d AT mail DOT gmail DOT com> <3f0ad08d0909020656v7d9fce6ft4afea63ed363b9a9 AT mail DOT gmail DOT com> <416096c60909071308qc5ff057sbe9cb1dbc270554f AT mail DOT gmail DOT com> <20090908193456 DOT GC17515 AT calimero DOT vinschen DOT de> <416096c60909081449r1fe024dbm7b82a3719be05e9e AT mail DOT gmail DOT com> <20090921103758 DOT GE20981 AT calimero DOT vinschen DOT de> <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3 AT mail DOT gmail DOT com> <416096c60909212347r7e03a4f3q7d518ff7e8bce55d AT mail DOT gmail DOT com> <416096c60909220549jaa601d9l26621e9910136a3 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 In-Reply-To: OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam Thorsten Kampe wrote: > * Lapo Luchini (Tue, 22 Sep 2009 18:26:32 +0200) >> But cmd.exe isn't even capable of printing the Euro sign (no cygwin >> involved, I mean the plain Windows Prompt), I guess there's no hope to >> ever seeing in there anything but a very limited output... (which >> surprises me a bit: Euro sign is present in CP1252) > > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > thorsten AT HOMBRE[C:\Users\thorsten]> echo € > € > > thorsten AT HOMBRE[C:\Users\thorsten]> chcp > Active code page: 437 OK, so it *can* display it. But why it does not, when showing a filename? (which was what I did in the previous message to check) http://img223.imageshack.us/img223/7821/winprompt.png I created a file "aà€私.txt" in WinExplorer, and then: C:\>dir *.txt Volume in drive C is Primary Volume Serial Number is 8437-B5FC Directory of C:\ 23/09/2009 06.58 0 aà??.txt 1 File(s) 0 bytes Errr.... actually I can't even reproduce your example. If I write "echo €" at the prompt I get this: C:\>echo ? ? C:\>chcp Active code page: 437 -- Lapo Luchini - http://lapo.it/ “I think, therefore I am… I think.” (Nordom, videogame "Torment", 1999) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple