Problem with SVN filename encoding on Mac OS X
Posted
by
Albert
on Super User
See other posts from Super User
or by Albert
Published on 2010-08-16T02:46:35Z
Indexed on
2012/04/13
17:34 UTC
Read the original article
Hit count: 283
I have some filename with some Unicode character in it. All filenames on Mac OS X are UTF8 encoded. Also $LANG
is set to en_US.UTF-8
.
However, it seems svn
has some problems with that:
az@ip212 1054 (Integration) %ls
Abbildungen Verbesserungsvorschläge_Applets.odt
AllgemeineAnmerkungen.rtf Verbesserungsvorschläge_Applets.rtf
Geogebra Vorlagen
Texte
az@ip212 1055 (Integration) %svn ls
Abbildungen/
AllgemeineAnmerkungen.rtf
Geogebra/
Texte/
Verbesserungsvorschläge_Applets.rtf
Verbesserungsvorschläge_Applets.odt
Vorlagen/
az@ip212 1056 (Integration) %svn del Verb*.odt
svn: Use --force to override this restriction
svn: 'Verbesserungsvorschläge_Applets.odt' is not under version control
az@ip212 1057 (Integration) %svn status
? Verbesserungsvorschläge_Applets.odt
! Verbesserungsvorschläge_Applets.odt
az@ip212 1058 (Integration) %
As you can see, svn del
does not recognize the filename. And even svn status
gets confused about it.
How can I fix this? I also tried with LC_CTYPE=$LANG LC_ALL=$LANG LC=$LANG
but no change.
© Super User or respective owner