[ Solved ] SVN ISSUE: svn: E000022: Can’t convert string from ‘UTF-8’ to native encoding:

[ Solved ] SVN ISSUE: svn: E000022: Can't convert string from 'UTF-8' to native encoding:

[ Solved ] SVN ISSUE: svn: E000022: Can’t convert string from ‘UTF-8’ to native encoding:

 

Some times you face strange issue while update SVN with PHP script. The above error is not related with SVN. It is related with Apache.

To fix this issue you have to change environment variable LANG.

# vi /etc/apache2/envars

Replace LANG variable value with ‘en_US.UTF-8’. By default you will found ‘c’ value.

 

export LANG=en_US.UTF-8

Untitled 1_html_m605de67d

After that restart Apache service on the server.

 

# /etc/init.d/apache2 restart.

Leave a comment

Your email address will not be published.


*