subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hunger Tobias <Tobias.Hun...@theqtcompany.com>
Subject Re: How to pass a message file in UTF8 encoding to svn commit?
Date Thu, 27 Aug 2015 14:39:39 GMT
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 claim 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äftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

________________________________________
From: Bert Huijben <bert@qqmail.nl>
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 äüß and such). I know that file to be in UTF8
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


Mime
View raw message