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

AW: Problem with code page on Windows XP SP3

From: Paul Maier <svn-user_at_web.de>
Date: Sat, 30 Oct 2010 22:43:07 +0200

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.

Paul.

> -----Ursprüngliche Nachricht-----
> Von: David Huang [mailto:khym_at_azeotrope.org]
> Gesendet: Samstag, 30. Oktober 2010 22:05
> An: users_at_subversion.apache.org
> Betreff: Re: Problem with code page on Windows XP SP3
>
>
> On Oct 30, 2010, at 2:56 PM, Paul Maier wrote:
>
> > Hello,
> >
> > who has advice for the following problem on a DOS console
> of a Windows XP SP3 machine.
> > "svn cat" doesn't display German umlaut characters (neither
> does Windows' built in type command).
> > Whereas a "svn cat > b; cat b" (cat command comes from
> cygwin) displays correctly.
>
> I don't know if this will work, but you might try doing a
> "chcp 1252" before "svn cat".
>
> > C:...\yy>cat a
> > äöü ÄÖÜ ß § -- abcd1234
>
> > C:...\yy>svn cat a
> > õ÷³ -Í_ ¯ º -- abcd1234
>
> ä is at code point 0xE4 in CP1252. In your CP850, 0xE4 is õ
> ö is at code point 0xF6 in CP1252. In CP850, 0xF6 is ÷
> etc...=

Screen.JPG
Received on 2010-10-30 22:43:52 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.