SVN Commit Operation Produces Errors

Follow

Applies To: 

[ Zend Studio 5.x ]
[ Windows ]

Symptom

While trying to commit the files using the built-in SVN functionality of Zend Studio, you may get the following error:

svn: Safe data 'C:\Documents and Settings\user***' was followed by non-ASCII byte 243: unable to convert to/from UTF-8
svn command finished execution

Technical Details

This is happening because SVN client cannot read directories that have special (national alphabet) characters in their name. For example: 'Configuración local'.

Resolution / Workaround

There are two workarounds:

  1. Changing the TEMP and TMP variables value in the operating system. Usually the problem is with the folder that is defined as the temporary folder for your user.
  2. Installing TortoiseSVN (1.4.x) and setting the APR_ICONV_PATH environment variable to "C:\Program Files\TortoiseSVN\iconv".

Excerpt: While trying to commit the files using the built-in SVN functionality of Zend Studio, you may get the following error: svn: Safe data 'C:\Documents and Setting\suser***' was followed by non-ASCII byte 243: unable to convert to/from UTF-8svn command finished execution


Original Post Date: 2009-05-15 21:21:48

Alternative Description:

While trying to commit the files using the built-in SVN functionality of Zend Studio, you may get the following error:svn: Safe data 'C:\Documents and Setting\suser***' was followed by non-ASCII byte 243: unable to convert to/from UTF-8svn command finished execution

_____
Tags: APR_ICONV_PATH,ASCII,encoding,iconv,MS Windows 2003 Server,MS Windows 7,MS Windows XP,Subversion,SVN,svn: Safe data,Tortoise,TortoiseSVN,UTF-8,ZDE 5.x and older,oldKB

Comments