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

Bill Gou gouzhuang at gmail.com
Sat Sep 19 07:13:14 UTC 2009


Public bug reported:

when trying to encrypt a file from Dolphin context menu, if there are Chinese
characters in the path(e.g.: /home/user/文档/test.txt), the encryption will fail
with the following popup error message:

Process halted.
Not all files were encrypted.

I read the source code and thought the path was not encoded correctly
when passed to the gpg program. I filed a bug at
https://bugs.kde.org/show_bug.cgi?id=201070 and proposed a patch,
however it seems the kde team was too busy to look at it.


$ env|grep LANG
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh

$ lsb_release -rd
Description:    Ubuntu 9.04
Release:        9.04

$ apt-cache policy kgpg
kgpg:
  Installed: 4:4.2.4-0ubuntu1~jaunty1~ppa2
  Candidate: 4:4.2.4-0ubuntu1~jaunty1~ppa2
  Version table:
 *** 4:4.2.4-0ubuntu1~jaunty1~ppa2 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     4:4.2.2-0ubuntu2 0
        500 http://ubuntu.cn99.com jaunty/main Packages

** Affects: kdeutils-kde4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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