Tuesday, February 28, 2012

How to find non UTF-8 file causing issue with SVN Update


If Error is - 
[user1@288832-web3 public_html]$ svn update
svn: Error converting entry in directory 'images' to UTF-8
svn: Valid UTF-8 data
(hex: 46 65 6e 65 72 62 61 68)
followed by invalid UTF-8 sequence
(hex: e7 65 2b 46)

Then do this. 
[user1@288832-web3 public_html]$ printf "\x46\x65\x6e\x65\x72\x62\x61\x68\n"
Fenerbah
[user1@288832-web3 public_html]$ cd  images
[user1@288832-web3 images]$ rm -rf Fenerbahçe+Forma+2.jpg

No comments:

Post a Comment