[kmail2] [Bug 403313] Encoding problem on kmail2 5.10.1 when creating composer from command line

alfazaz bugzilla_noreply at kde.org
Sun Feb 17 09:27:31 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=403313

alfazaz <yalmeras at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from alfazaz <yalmeras at free.fr> ---
(In reply to Laurent Montel from comment #1)
> Git commit 3cebe77c92460505af04827defeb0a9e358ba00b by Laurent Montel.
> Committed on 17/01/2019 at 21:56.
> Pushed by mlaurent into branch 'Applications/18.12'.
> 
> Fix Bug 403313 - Encoding problem on kmail2 5.10.1 when creating composer
> from command line
> 
> FIXED-IN: 5.10.2
> 
> M  +1    -1    src/job/opencomposerjob.cpp
> 
> https://commits.kde.org/kmail/3cebe77c92460505af04827defeb0a9e358ba00b

I tested your commit on last archlinux update (with kmail 5.10.2) and it works
for --subject and --body options but not for --msg option.

To reproduce the bug, open a terminal and type in it :

1. Create an utf8 text file (named bodytest.txt) with "J'ai élevé à ma façon
des vélos !" in it.
2. Type in a terminal :
kmail --subject Vélo --msg bodytest.txt

OBSERVED RESULT
A kmail message editor is opened with a good subject (Vélo) but with this bad
body :
J'ai élevé à ma façon des vélos !

EXPECTED RESULT
A kmail message editor opened with a good subject (Vélo) but also with a good
body like this :
J'ai élevé à ma façon des vélos !

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux uptodate/Plasma desktop 5.15.0-1/kde 18.12.1
KDE Frameworks 5.55.0-1
Qt 5.12.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list