--===============9099355597838088176== Content-Type: multipart/alternative; boundary="===============1333561857984968832==" --===============1333561857984968832== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/107044/#review21076 ----------------------------------------------------------- This review has been submitted with commit cb3cf3fbae286d56aa161c351dfc794f= 16bfbcef by Yichao Yu to branch master. - Commit Hook On Oct. 25, 2012, 8:35 p.m., Yichao Yu wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/107044/ > ----------------------------------------------------------- > = > (Updated Oct. 25, 2012, 8:35 p.m.) > = > = > Review request for Plasma. > = > = > Description > ------- > = > When dragging a text file with utf8 characters to the PasteBin plasma app= let, it will upload the file in the wrong encoding. This patch decode the f= ile content using current locale which should be a better option than the d= efault 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 > = > --===============1333561857984968832== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/107044/

This revie=
w has been submitted with commit cb3cf3fbae286d56aa161c351dfc794f16bfbcef b=
y Yichao Yu to branch master.

- Commit


On October 25th, 2012, 8:35 p.m., Yichao Yu wrote:

Review request for Plasma.
By Yichao Yu.

Updated Oct. 25, 2012, 8:35 p.m.

Descripti= on

When dragging a text file with utf8 characters to the PasteB=
in 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 opti=
on than the default one (Latin1?).

Testing <= /h1>
Compiled, installed, upload a file with utf8 characters and =
the encoding is correct.

Diffs=

  • plasma/generic/dataengines/share/shareprovider.cpp (81ac677)

View Diff

--===============1333561857984968832==-- --===============9099355597838088176== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============9099355597838088176==--