[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: AW: Problem with code page on Windows XP SP3

From: David Huang <khym_at_azeotrope.org>
Date: Sat, 30 Oct 2010 15:55:44 -0500

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 :(
Received on 2010-10-30 22:56:24 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.