christian0101 / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

Comment encoding not UTF-8 #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to commit with a log message with non us-ascii characters an error 
is raised:

svn: Commit failed (details follow):
svn: Error normalizing log message to internal format
svn: Safe data '- Abh' was followed by non-ASCII byte 195: unable to convert 
to/from UTF-8

Original issue reported on code.google.com by christ...@zagrodnick.de on 23 Jul 2009 at 7:26

GoogleCodeExporter commented 8 years ago
Please be more specific.
Which versions of svnX and Subversion are your using?
What did you type in the message?
If you type `locale` in Terminal, what does it output?

SvnX should be fully Unicode compliant.  It does support Unicode text in commit 
messages.

The error message implies that, for some reason, your copy of svn is not using 
UTF-8 for its input, but reverting to ASCII.

Original comment by chris...@gmail.com on 23 Jul 2009 at 8:32

GoogleCodeExporter commented 8 years ago
Apparently the problem was in the .subversion/config:

### Set log-encoding to the default encoding for log messages
log-encoding = utf8

When not setting this at all it works. So sorry for the noise. Even thoug I 
wonder what encoding svn uses now 
since it apparently was not utf8.

Original comment by christ...@zagrodnick.de on 23 Jul 2009 at 9:27

GoogleCodeExporter commented 8 years ago
I don't think that "utf8" is a valid value.
I think you would need to use "UTF-8" (although I can find no definitive info 
in the Subversion documentation.)

Original comment by chris...@gmail.com on 23 Jul 2009 at 6:40