haiyuan qian created SVN-4855:
---------------------------------

             Summary: Character encoding error of svnmucc log message
                 Key: SVN-4855
                 URL: https://issues.apache.org/jira/browse/SVN-4855
             Project: Subversion
          Issue Type: Bug
          Components: svnmucc
    Affects Versions: 1.10.6
         Environment: CentOS 6.6
            Reporter: haiyuan qian


When $LANG set zh_CN.GB18030; svnmucc cannot commit with some Chinese log 
message( not all Chinese).

[root@Test-RD-56 svnmucc]# ./svnmucc -U 'file:///svnroot/Repo' -m '[ADD] 呢 ' 
mkdir '/2020'
svnmucc: E070008: Error normalizing log message to internal format
svnmucc: E070008: Can't convert string from native encoding to 'UTF-8':
svnmucc: E070008: [ADD] \{U+5462}

 

I found this was made by svn_subst_translate_string2, in line 429-432 of 
svnmucc.c

If comment out of this code ,the svnmucc is work well with Chinese.

/*SVN_ERR_W(svn_subst_translate_string2(&message, NULL, NULL,
 message, NULL, FALSE,
 pool, pool),
 _("Error normalizing log message to internal format"));*/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to