Merge lp:~brunonova/software-properties/lp1381050 into lp:software-properties
Status: | Merged |
---|---|
Merged at revision: | 921 |
Proposed branch: | lp:~brunonova/software-properties/lp1381050 |
Merge into: | lp:software-properties |
Diff against target: |
11 lines (+1/-0) 1 file modified
softwareproperties/SoftwareProperties.py (+1/-0) |
To merge this branch: | bzr merge lp:~brunonova/software-properties/lp1381050 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Approve | ||
Review via email: mp+238873@code.launchpad.net |
Description of the change
This is a fix/workaround for Bug #1381050, and was tested in Ubuntu (only tested GTK version!).
When importing a key file that is located in a path that contains special characters (example: /home/USER/
It seems that the Software Properties DBus service (or the whole DBus) is NOT running in a UTF-8 locale, causing this issue.
This commit adds a line that forces the file path in the DBus service to be encoded in UTF-8.
If DBus is indeed running in a non-UTF-8 locale (maybe C?), this needs to be further investigated as it may be causing other encoding errors elsewhere!
Thanks for this branch. I merged it initially and then added a test for the add_key() funtion in http:// bazaar. launchpad. net/~ubuntu- core-dev/ software- properties/ main/revision/ 922 and simplified it.