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

Re: Problem with code page on Windows XP SP3

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

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...
Received on 2010-10-30 22:06:10 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.