This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kmail2 don't save non-ascii symbols in From and To fields

Tags: None
(comma "," separated)
Murz
Registered Member
Posts
52
Karma
0
I have testing Kmail2 version 4.5.94.1-0ubuntu1~maverick1~ppa1 and find the bug:

When I fill fields "From" and "To" with cyrillic (utf-8) symbols, it fills normally (I see in the screen cyrillic letters), but when I send the message, I see the "????" symbols instead of my cyrillic letters! And receiver of message got the "????" symbols instead of cyrillic too.

Cyrillic symbols in Subject and Body sends normally.

Can anybody test and repoduce this bug?

Steps to Reproduce:
1. Create new email message.

2. Fill fields:
Code: Select all
From: Алексей Test Корепов <mymail@mail.ru>
To: Иван Test Иванов <mail2@mail.ru>

and other fields.

3. Press "Send" button.

4. Look at the message in "Sent" folder and on inbox in receiver.

Actual Results:
You will see in thouse fields:
Code: Select all
From:    ??????? Test ??????? <korepov@qseo.ru>
To:    ???? Test ?????? <murznn@gmail.com>


Expected Results:
You must see:
Code: Select all
From: Алексей Test Корепов <mymail@mail.ru>
To: Иван Test Иванов <mail2@mail.ru>
Murz
Registered Member
Posts
52
Karma
0
I have file bug about this: https://bugs.kde.org/show_bug.cgi?id=263761

I have test the akonadi and see that the problem is in kmail2, not in akonadi, because received
messages with cyrillic texts shows normally.

Kmail2 must convert the text of "From" and "To" fields to Base64 encoding
before saving it in akonadi resouce:

From: Алексей Test Корепов <mymail@mail.ru>
convert to: =?UTF-8?B?0JDQu9C10LrRgdC10LkgVGVzdCDQmtC+0YDQtdC/0L7Qsg==?=
<mymail@mail.ru>

To: Иван Test Иванов <mail2@mail.ru>
convert to: =?UTF-8?B?0JjQstCw0L0gVGVzdCDQmNCy0LDQvdC+0LI=?= <mail2@mail.ru>

like the subject filed are encoded.
Because "Subject" files saves and sends normally, the problem is only in From
and To fields.

If I open the akonadi console, and manually replace From and To strings to the
Base64-encoded values, id displays correctly in Akonadi and Kmail2, but when I
try to open it for editing, it broke those strings again :(


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], watchstar, Yahoo [Bot]