diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-08-27 16:39:46 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-08-27 15:57:41 +0000 |
commit | cdf87335f432a10c9c917a8a7a70b7f6468e48ed (patch) | |
tree | 81942dc289cbb6c746f2a4468e3be7a6239316dc | |
parent | fdd5b0f1d1a64b26362ff471d0adffa311df976c (diff) | |
download | qt-creator-cdf87335f432a10c9c917a8a7a70b7f6468e48ed.tar.gz |
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>
-rw-r--r-- | src/plugins/subversion/subversionclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/subversion/subversionclient.cpp b/src/plugins/subversion/subversionclient.cpp index 75b1d69c69..7d48522825 100644 --- a/src/plugins/subversion/subversionclient.cpp +++ b/src/plugins/subversion/subversionclient.cpp @@ -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); |