Batch files, umlauts and svn status
From: Niemann, Hartmut <hartmut.niemann_at_siemens.com>
Date: Fri, 30 Jun 2017 15:13:50 +0000
Hello!
I want to parse svn status output with a batch file on Windows 7 (and feed it back to svn diff and some other tools doing svn cat)
See the attached screen shot.
In plain text:
(Tortoise SVN 1.9.4 command line client) and it reports a file whose directory name contains umlauts.
I loop over the output with
I switch to cp1252. svn status displays exactly the string seen the step before.
I loop over the output with
If I loop over svn status output, obviously the encoding of umlauts changes in some mysterious way to code page 1252.
What am I seeing here?
Mit freundlichen Grüßen
Siemens AG
www.siemens.com/ingenuityforlife
Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.