You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by aneeja gerard <an...@yahoo.com> on 2010/07/09 10:59:26 UTC

Svn import

Hello,

   Will svn import command allow   special characters.  How to skip UTF error  
Followed by invalid UTF -8 sequence.
I guess these special characters are created if the locale is not set properly 
but unfotunately its set to en_US.UTF-8.
How can such files that has these characters be included via svn import command.



Re: Svn import

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Friday 09 July 2010, aneeja gerard wrote:
> Will svn import command allow special characters.

SVN deals with the whole Unicode range of characters, provided SVN and the 
system are set up correctly.

> How to skip UTF error Followed by invalid UTF -8 sequence.

I guess the actual error (quote it next time, that helps against 
misunderstandings) is that valid UTF-8 characters are followed by an invalid 
UTF-8 sequence. This is typically the effect of assuming a UTF-8 filesystem 
encoding while it actually is e.g. Latin-1.

> I guess these special characters are created if the locale is not set
> properly but unfotunately its set to en_US.UTF-8. How can such files
> that has these characters be included via svn import command.

Two options:
1. Adjust your locale.
2. Rename the files.

I personally would prefer a Unicode charset (i.e. UTF-8), so I would try to 
rename the files, but just changing the locale for import and then switching 
back may be the easier way out. Question: Does the file's name show up 
correctly in e.g. the shell and file managers. If only SVN thinks the file's 
name is garbled, you might have a different problem.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/

Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************