This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The C locale


* Lapo Luchini (Wed, 23 Sep 2009 07:11:48 +0200)
> 
> 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

Works for me, too. Maybe not only the codepage but also the GUI locale 
settings are involved. This is on Windows 7.

Thorsten


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]