On Oct 30, 2010, at 3:43 PM, Paul Maier wrote:

> Hello David,
> 
> thank you! I have added "chcp 1252" at the top of my script 
> and the result is strange. I attach a screen shot to this
> mail - hopefully it makes through the list.
> 
> With "chcp 1252" it's like this:
> 
> 1. output on the console (black window) is same than before
> 
> 2. When I copy the content out of the console into an
>   Elvis editor (vi for Windows; white window), then
>   the caracters I get in vi are not the ones that I've copied.
>   See screen shot.
>   More strange: The unreadable wrong characters on the console
>   turn into the right German umlauts in vi.
>   And the correct characters from the console turn into
>   black rectangles in vi.

Interesting and very strange :) Perhaps also try changing the font that you're 
using in the console window to a Truetype font (like Lucida Console). I think 
the Command Prompt raster fonts only support the default OEM code page. I 
suspect that this will make the "svn cat" output work properly, but will break 
the Cygwin cat output :(

Reply via email to