Error output could not be translated from the native locale to UTF-8
Using the HTTP + SVN scheme, if the hook contains Chinese, an error prompt “error output could not be translated from the native locale to UTF-8.” may appear
The reason for this error is that the HTTP service itself has an encoding setting. Therefore, if the HTTP encoding is not set properly, the Chinese returned by the hook will cause an encoding error. The specific solutions are as follows:
<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
SVNUseUTF8 On
</IfModule>
Similar Posts:
- Settext notes of Textview (How to Use)
- Solve the Chinese display garbled code under centos7
- After the JVM is started, setting the system property file.encoding again cannot affect the default encoding of the system & sun.jnu.encoding
- [Solved] SSH Remote execute Python 3 error: Unicode encodeerror: ‘ASCII’ codec
- CentOS Error: Failed to set locale, defaulting to C
- [Solved] Python Error: UnicodeDecodeError: ‘gb2312’ codec can’t decode byte 0xa4 in position… : illegal multibyte sequence
- The database could not be exclusively locked to perform the operation (SQL Server 5030 error solution)
- [Solved] Maven Package Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) Compilation failure javac: �Ҳ����ļ�:
- Error inflating android.support.v7.widget.Toolbar
- What are GMT, UTC and PDT? How to adjust time zone under Linux