Review Request: Convert file content to local encoding before uploading text file in the "share" dataengine
Yichao Yu
yyc1992 at gmail.com
Thu Oct 25 20:35:31 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107044/
-----------------------------------------------------------
Review request for Plasma.
Description
-------
When dragging a text file with utf8 characters to the PasteBin plasma applet, it will upload the file in the wrong encoding. This patch decode the file content using current locale which should be a better option than the default one (Latin1?).
Diffs
-----
plasma/generic/dataengines/share/shareprovider.cpp 81ac677
Diff: http://git.reviewboard.kde.org/r/107044/diff/
Testing
-------
Compiled, installed, upload a file with utf8 characters and the encoding is correct.
Thanks,
Yichao Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121025/3eb851b1/attachment.html>
More information about the Plasma-devel
mailing list