Skip to content
  • Krzysztof Nowicki's avatar
    Use system codepage when reading from piped command · adede5ee
    Krzysztof Nowicki authored and Albert Astals Cid's avatar Albert Astals Cid committed
    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.
    
    Reviewers: dvratil, mlaurent, #kde_pim
    
    Reviewed By: dvratil, #kde_pim
    
    Subscribers: kde-pim
    
    Tags: #kde_pim
    
    Differential Revision: https://phabricator.kde.org/D19333
    adede5ee