forked from qt-creator/qt-creator
SVN: Fix encoding issues for commit message
According to http://article.gmane.org/gmane.comp.version-control.subversion.user/118966 the encoding "UTF-8" should bypass any attempt of SVN to encode the commit message, while "utf8" may or may not do so -- depending on iconv settings. Task-number: QTCREATORBUG-14965 Change-Id: Id7e8ed2c94c0b416bd02548fe31b55bc4256198a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ VcsCommand *SubversionClient::createCommitCmd(const QString &repositoryRoot,
|
||||
QStringList(extraOptions)
|
||||
<< SubversionClient::addAuthenticationOptions(settings())
|
||||
<< QLatin1String(Constants::NON_INTERACTIVE_OPTION)
|
||||
<< QLatin1String("--encoding") << QLatin1String("utf8")
|
||||
<< QLatin1String("--encoding") << QLatin1String("UTF-8")
|
||||
<< QLatin1String("--file") << commitMessageFile;
|
||||
|
||||
VcsCommand *cmd = createCommand(repositoryRoot);
|
||||
|
||||
Reference in New Issue
Block a user