diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2013-05-09 00:45:27 +0200 |
---|---|---|
committer | Torgny Nyblom <nyblom@kde.org> | 2013-05-19 08:20:36 +0200 |
commit | 539de0386876ed470f2ae6be90a98421493b3c90 (patch) | |
tree | 5a94b6ae60d52c5398810059dfd43afcae7c4653 /samples | |
parent | 4a1e11c6ceb17b764c613778d8ce408f0aa28a48 (diff) | |
download | svn2git-master.tar svn2git-master.tar.gz svn2git-master.tar.bz2 svn2git-master.tar.xz svn2git-master.zip |
To see the bug in action, use an author map with umlauts, e.g.
nickname = Hällo Wörld from UTF-8 <mail@example.org>
and check "git log" after the conversion.
What is happening?
QByteArray "author" is first decoded as UTF-8 into a QString.
That QString is passed to QByteArray::append(const QString &)
which internally encodes the QString to ASCII byte data using
QString::toAscii(). "git fast-import" expects UTF-8 input
from us, so the original QByteArray with UTF-8 content is just
what we need.
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions