[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: manage linux distro with subverison

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-13 11:17:04 CEST

On Apr 13, 2007, at 04:24, John Stile wrote:

> On Thu, 2007-04-12 at 19:18 -0700, Karl Fogel wrote:
>
>> John Stile writes:
>>
>>> 3. Some files can't be converted to UTF8. I don't really know
>>> why svn
>>> wants to convert my source files, but this stops the import cold. I
>>> haven't found the solution for this yet, but I'm still looking.
>>
>> Subversion shouldn't be attempting any changes to files when it
>> imports them, unless you explicitly ask it to. What is the exact
>> behavior you are seeing here?
>
> The import statement:
> svn import -m 'Import CF chroot tree' ./cf_image http://svn/SIM_CF/
>
> The import error:
> Adding cf_image/source/usr/share/doc/kbd-1.12-r8/html/utf
> svn: Can't convert string from native encoding to 'UTF-8':
> svn: ?\226?\153?\170?\226?\153?\172

Generally this refers to file names, not their contents. Those six
bytes in UTF-8 are two musical-note Unicode entities, U+266A "EIGHTH
NOTE" and U+266C "BEAMED SIXTEENTH NOTES".

Do you have any files in the path it says it's adding whose names
contain those characters?

The solution is to set your LANG environment variable correctly, like

export LANG=en_US.UTF-8

or whatever the locale is properly called on your OS.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 13 11:18:23 2007

This is an archived mail posted to the Subversion Users mailing list.