svn: Can't convert string from 'UTF-8' to native encoding

Понадобилось перенести дамп Subversion репозитория с одного сервера на другой - нет проблем: svnadmin dump, svnadmin load. Эти две команды отработали без ошибок. Но проблема возникла при попытке сделать svn update на новом сервере из восстановленного репозитория:

svn: Can't convert string from 'UTF-8' to native encoding:

Документация гласит:

Errors like this typically occur when the Subversion client has received a UTF-8 string from the repository, but not all of the characters in that string can be represented using the encoding of the current locale. For example, if your locale is en_US but a collaborator has committed a Japanese filename, you're likely to see this error when you receive the file during an svn update.

Итак, чтобы исправить ошибку, необходимо сделать:

export LC_CTYPE=en_US.UTF-8

спасибо большое)

Отправить комментарий

Image CAPTCHA
Enter the characters shown in the image.