D19333: Use system codepage when reading from piped command

Krzysztof Nowicki noreply at phabricator.kde.org
Tue Feb 26 12:41:57 GMT 2019


nowicki created this revision.
nowicki added reviewers: dvratil, mlaurent, KDE PIM.
nowicki added a project: KDE PIM.
Herald added a subscriber: kde-pim.
nowicki requested review of this revision.

REVISION SUMMARY
  When using a piped command to preprocess the message the response may contain locale-specific characters. When converting using Latin1 those characters are mangled.
  
  This fixes preprocessing messages which contain Unicode characters.

TEST PLAN
  Use a piped command that generates non-ASCII characters in the response. Make sure that these characters appear properly in the editor window.

REPOSITORY
  R94 PIM: Message Library

REVISION DETAIL
  https://phabricator.kde.org/D19333

AFFECTED FILES
  templateparser/src/templateparserjob.cpp

To: nowicki, dvratil, mlaurent, #kde_pim
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190226/b28080d0/attachment.html>


More information about the kde-pim mailing list