[Bug 432930] Re: kgpg fails to encrypt file whose path contains non-ascii characters

Bill Gou gouzhuang at gmail.com
Sat Sep 19 07:20:24 UTC 2009


Proposed patch

removed all unnecessary QFile::encodeName() calls. As QFile::encodeName()
converts a unicode string to local encoding, however when the resulting
QByteArray is passed to KProcess, it is converted back to unicode. if the
QFile::setEncodingFunction() was called with a encoder other the default, the
final unicode string may not be the same as original.

** Attachment added: "kgpg-path-encoding-patch.diff"
   http://launchpadlibrarian.net/32057446/kgpg-path-encoding-patch.diff

-- 
kgpg fails to encrypt file whose path contains non-ascii characters
https://bugs.launchpad.net/bugs/432930
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list