This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: The C locale
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@HOMBRE[C:\Users\thorsten]> echo â
> â
>
> thorsten@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