subversion UTF-8 conversion errors

I can't "svn up" trunk: $ svn up svn: Can't convert string from native encoding to 'UTF-8': svn: ?\255K?\197?\221DO?\209 I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on? -- Eric Niebler Boost Consulting www.boost-consulting.com

On Wed, Jan 09, 2008 at 12:40:00PM -0800, Eric Niebler wrote:
I can't "svn up" trunk:
What is the revision of your working copy?
$ svn up svn: Can't convert string from native encoding to 'UTF-8': svn: ?\255K?\197?\221DO?\209
It works for me on Linux. The error message is probably wrong. Isn't it possible to convert each string encoded in a special encoding into UTF-8? Maybe try it in another locale if possible (LANG=C on POSIX, i.e. use a different default encoding such as latin1)?
I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on?
I know that some files created on Linux could not be extracted in Windows (such as aux.c, ...). But the error message is different ... Don't know what's going on. Jens

Jens Seidel wrote:
On Wed, Jan 09, 2008 at 12:40:00PM -0800, Eric Niebler wrote:
I can't "svn up" trunk:
What is the revision of your working copy?
42625
$ svn up svn: Can't convert string from native encoding to 'UTF-8': svn: ?\255K?\197?\221DO?\209
It works for me on Linux. The error message is probably wrong. Isn't it possible to convert each string encoded in a special encoding into UTF-8?
Only if there is system support for the special encoding, I guess.
Maybe try it in another locale if possible (LANG=C on POSIX, i.e. use a different default encoding such as latin1)?
Can you tell me specifically what I would need to try? I don't know how to do what you're suggesting.
I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on?
I know that some files created on Linux could not be extracted in Windows (such as aux.c, ...). But the error message is different ...
Don't know what's going on.
Anybody else? -- Eric Niebler Boost Consulting www.boost-consulting.com

Eric Niebler wrote:
I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on? I know that some files created on Linux could not be extracted in Windows (such as aux.c, ...). But the error message is different ...
Don't know what's going on.
Anybody else?
I'm not familiar with cygwin but maybe the following is helpful: http://www.juretta.com/log/2007/05/09/svn_can_t_convert_string_from_utf-8_to... It seems you are not alone on cygwin either: http://cygwin.com/ml/cygwin/2006-05/msg00026.html

eg wrote:
Eric Niebler wrote:
I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on? I know that some files created on Linux could not be extracted in Windows (such as aux.c, ...). But the error message is different ...
Don't know what's going on. Anybody else?
I'm not familiar with cygwin but maybe the following is helpful:
http://www.juretta.com/log/2007/05/09/svn_can_t_convert_string_from_utf-8_to...
I'm sure something like that would help me, but cygwin doesn't have a "locale" command, so it didn't help. Merely setting LC_CTYPE didn't do it.
It seems you are not alone on cygwin either: http://cygwin.com/ml/cygwin/2006-05/msg00026.html
The correct solution is probably to find the file with the bad filename and rename it. I don't have time to investigate at the moment, but the offending file was added to the repository sometime after revision 42625. -- Eric Niebler Boost Consulting www.boost-consulting.com

On Wed, Jan 09, 2008 at 04:18:39PM -0800, Eric Niebler wrote:
The correct solution is probably to find the file with the bad filename and rename it. I don't have time to investigate at the moment, but the offending file was added to the repository sometime after revision 42625.
I checked all files (simply by using svn log --verbose 42625:HEAD and removing ASCII characters via sed) but got nothing! I'm sure all file names are OK. I suggest you try to update only one revision per step (svn up -r $rev) and look when it first fails but probably you updated parts of your system and svn fails now also to checkout revision 42625 again. Jens

Eric Niebler wrote:
I can't "svn up" trunk:
$ svn up svn: Can't convert string from native encoding to 'UTF-8': svn: ?\255K?\197?\221DO?\209
I'm using svn from Cygwin on a Vista machine. Anybody else seeing this? What's going on?
Never mind. This looks like subversion corruption on my end. A clean check out works. -- Eric Niebler Boost Consulting www.boost-consulting.com
participants (3)
-
eg
-
Eric Niebler
-
Jens Seidel