Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3767F10DED for ; Thu, 27 Aug 2015 14:39:58 +0000 (UTC) Received: (qmail 26841 invoked by uid 500); 27 Aug 2015 14:39:56 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 26721 invoked by uid 500); 27 Aug 2015 14:39:56 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 26330 invoked by uid 99); 27 Aug 2015 14:39:56 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2015 14:39:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DD3DCEE7B2 for ; Thu, 27 Aug 2015 14:39:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id KOG_piNGUkyC for ; Thu, 27 Aug 2015 14:39:48 +0000 (UTC) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0116.outbound.protection.outlook.com [157.55.234.116]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 7FAE821597 for ; Thu, 27 Aug 2015 14:39:47 +0000 (UTC) Received: from VI1PR02MB0672.eurprd02.prod.outlook.com (10.162.10.146) by VI1PR02MB0672.eurprd02.prod.outlook.com (10.162.10.146) with Microsoft SMTP Server (TLS) id 15.1.243.23; Thu, 27 Aug 2015 14:39:40 +0000 Received: from VI1PR02MB0672.eurprd02.prod.outlook.com ([10.162.10.146]) by VI1PR02MB0672.eurprd02.prod.outlook.com ([10.162.10.146]) with mapi id 15.01.0243.020; Thu, 27 Aug 2015 14:39:40 +0000 From: Hunger Tobias To: Bert Huijben , "users@subversion.apache.org" Subject: Re: How to pass a message file in UTF8 encoding to svn commit? Thread-Topic: How to pass a message file in UTF8 encoding to svn commit? Thread-Index: AQHQ4M4ObszR4rfEok6n5o3/gz9Z654f3eqAgAAMp6w= Date: Thu, 27 Aug 2015 14:39:39 +0000 Message-ID: References: ,<03a301d0e0cf$c54d6460$4fe82d20$@qqmail.nl> In-Reply-To: <03a301d0e0cf$c54d6460$4fe82d20$@qqmail.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tobias.Hunger@theqtcompany.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [62.220.2.194] x-microsoft-exchange-diagnostics: 1;VI1PR02MB0672;5:8hG4gzbgZcTli/edYRcGLHAXpUaxP9H3kVj0xGDnnmXUl+CMITHb3bGPblWBEpLHoe/PJTk0l9/fU1Rf1A9omEkQSKZCsQE1nyb/ce86A5wrZ1wDS6KjS/lQjDXeehoPUcoU8FBt/8ForFje+7pO7g==;24:y9ch9SHUKhT2LfTtAEBjoqDbvTqBNkvpNDlIj12ekX5GHqG+D0nxCL8UN4/Tjhzo9U7hEbbYZJ2WdxH0X1W1zhHRS+dJJ7Ur4yT0Qkxa0kg=;20:hBGvZHYv3bfUdAoEaBhMWU/MxKuoA5PVdub8aYsPiSfRR6s8lAX4NZKS7WACMI9IiwQ1k3XulrIaGu8PhOSjrQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR02MB0672; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(8121501046)(3002001);SRVR:VI1PR02MB0672;BCL:0;PCL:0;RULEID:;SRVR:VI1PR02MB0672; x-forefront-prvs: 06818431B9 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(13464003)(107886002)(54356999)(5001860100001)(77096005)(5001770100001)(4001540100001)(5001960100002)(64706001)(81156007)(74316001)(97736004)(5001830100001)(19580395003)(19580405001)(62966003)(76576001)(122556002)(10400500002)(87936001)(40100003)(189998001)(5003600100002)(2950100001)(106116001)(2501003)(92566002)(76176999)(68736005)(105586002)(86362001)(77156002)(50986999)(102836002)(106356001)(46102003)(2656002)(5007970100001)(2900100001)(33656002)(101416001)(5004730100002)(66066001)(5002640100001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR02MB0672;H:VI1PR02MB0672.eurprd02.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: theqtcompany.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: theqtcompany.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2015 14:39:39.7363 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6fce4bb8-3501-41c9-afcc-db0fb51c7e3d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB0672 Hi Bert, thank you for your prompt reply! I'll give that a try and see whether that = works for everybody. "utf8" does work fine for me, but people on windows cl= aim it breaks for them. Best Regards, Tobias Tobias Hunger, Senior Software Engineer | The Qt Company The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin Gesch=E4ftsf=FChrer: Mika P=E4lsi, Juha Varelius, Tuula Haataja Sitz der Ge= sellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331= B ________________________________________ From: Bert Huijben Sent: Thursday, August 27, 2015 15:53 To: Hunger Tobias; users@subversion.apache.org Subject: RE: How to pass a message file in UTF8 encoding to svn commit? > -----Original Message----- > From: Hunger Tobias [mailto:Tobias.Hunger@theqtcompany.com] > Sent: donderdag 27 augustus 2015 15:45 > To: users@subversion.apache.org > Subject: How to pass a message file in UTF8 encoding to svn commit? > > Hello SVN users list! > > I have a file in UTF8 encoding, containing a couple of non-ASCII characters > (Cyrillic mostly, some =E4=FC=DF and such). I know that file to be in UTF= 8 encoding. > > Then I am trying to run: > svn commit --encoding utf8 --file mymsg.txt somefile.cpp > > and I get the following error: > svn: E000022: Commit failed (details follow): > svn: E000022: Error normalizing log message to internal format > svn: E000022: Non-ASCII character (code 195) detected, and unable to convert > to/from UTF-8 > > Did I set something wrong in --encoding? Or does that not effect --file? How > can I force SVN to treat the file contents as UTF8? I think at least "UTF-8" as passed value should work. That encoding name is hardcoded to avoid the entire conversion. The other values might depend on what iconv settings are used by your specific client. Bert