* [mdk-re] charset in sylpheed @ 2001-03-15 14:52 Vyt 2001-03-15 23:33 ` Sergey Vlasov 0 siblings, 1 reply; 3+ messages in thread From: Vyt @ 2001-03-15 14:52 UTC (permalink / raw) To: Mandrake-Russian [-- Attachment #1: Type: text/plain, Size: 485 bytes --] Hello, All Получил тут письмо (заголовок в аттаче). При просмотре показывается читаемое имя отправителя. При ответе (кнопка "ответить") на него sylpheed вместо читаемого имени показывает закодированное. Это баг или мои настройки? Кстати, кодировка выбрана "автоопределение". Туда же: при перемещении письма из папки (например, отправленные) в папку (например, очередь) поля не отображаются - <нет даты> <нет темы> и т.д. sylpheed-0.4.62-ipl0.6 -- Regards, Vyt mailto:vyt@vzljot.ru [-- Attachment #2: letter --] [-- Type: application/octet-stream, Size: 863 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] charset in sylpheed 2001-03-15 14:52 [mdk-re] charset in sylpheed Vyt @ 2001-03-15 23:33 ` Sergey Vlasov 2001-03-15 23:59 ` Sergey Vlasov 0 siblings, 1 reply; 3+ messages in thread From: Sergey Vlasov @ 2001-03-15 23:33 UTC (permalink / raw) To: mandrake-russian On Thu, 15 Mar 2001 14:53:24 +0300 Vyt <vyt@vzljot.ru> wrote: > Hello, All > > Получил тут письмо (заголовок в аттаче). При просмотре показывается > читаемое имя отправителя. При ответе (кнопка "ответить") на > него sylpheed вместо читаемого имени показывает закодированное. > Это баг или мои настройки? Кстати, кодировка выбрана "автоопределение". Похоже, баг: поле Reply-To не раскодируется. Если его нет, адрес берется из From, и все на месте. > Туда же: при перемещении письма из папки (например, отправленные) в > папку > (например, очередь) поля не отображаются - <нет даты> <нет темы> и т.д. Не надо ничего перемещать в папку "очередь" - там нужны специфические заголовки для доставки по SMTP. В других папках все нормально. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] charset in sylpheed 2001-03-15 23:33 ` Sergey Vlasov @ 2001-03-15 23:59 ` Sergey Vlasov 0 siblings, 0 replies; 3+ messages in thread From: Sergey Vlasov @ 2001-03-15 23:59 UTC (permalink / raw) To: mandrake-russian [-- Attachment #1: Type: text/plain, Size: 864 bytes --] On Thu, 15 Mar 2001 23:37:05 +0300 Sergey Vlasov <vsu@mivlgu.murom.ru> wrote: > On Thu, 15 Mar 2001 14:53:24 +0300 > Vyt <vyt@vzljot.ru> wrote: > > > Hello, All > > > > Получил тут письмо (заголовок в аттаче). При просмотре показывается > > читаемое имя отправителя. При ответе (кнопка "ответить") на > > него sylpheed вместо читаемого имени показывает закодированное. > > Это баг или мои настройки? Кстати, кодировка выбрана > "автоопределение". > > Похоже, баг: поле Reply-To не раскодируется. Если его нет, адрес берется > из From, и все на месте. Да, кстати, помимо Reply-To еще не декодировались Cc, Bcc, Followup-To. Проявлялось, например, при сохранении письма с русскими буквами в этих полях в черновиках. В общем, берите патч и пробуйте. Если у кого-то, кроме меня, это заработает, надо бы и автору послать. Патч относительно sylpheed-0.4.62-ipl2. [-- Attachment #2: sylpheed-0.4.62-mimedecode.patch --] [-- Type: text/plain, Size: 1473 bytes --] --- sylpheed-0.4.62/src/compose.c.mimedecode Tue Mar 13 23:19:55 2001 +++ sylpheed-0.4.62/src/compose.c Thu Mar 15 23:46:30 2001 @@ -640,6 +640,15 @@ gtk_entry_append_text(entry, address); } +static gchar *unmime_and_free(gchar *str) +{ + gchar tmp[BUFFSIZE]; + + conv_unmime_header(tmp, sizeof(tmp), str, NULL); + g_free(str); + return g_strdup(tmp); +} + static gint compose_parse_header(Compose *compose, MsgInfo *msginfo) { static HeaderEntry hentry[] = {{"Reply-To:", NULL, TRUE}, @@ -669,11 +678,11 @@ fclose(fp); if (hentry[H_REPLY_TO].body != NULL) { - compose->replyto = hentry[H_REPLY_TO].body; + compose->replyto = unmime_and_free(hentry[H_REPLY_TO].body); hentry[H_REPLY_TO].body = NULL; } if (hentry[H_CC].body != NULL) { - compose->cc = hentry[H_CC].body; + compose->cc = unmime_and_free(hentry[H_CC].body); hentry[H_CC].body = NULL; } if (hentry[H_REFERENCES].body != NULL) { @@ -696,7 +705,7 @@ } if (hentry[H_BCC].body != NULL) { if (compose->mode == COMPOSE_REEDIT_DRAFT) - compose->bcc = hentry[H_BCC].body; + compose->bcc = unmime_and_free(hentry[H_BCC].body); else g_free(hentry[H_BCC].body); hentry[H_BCC].body = NULL; @@ -706,7 +715,8 @@ hentry[H_NEWSGROUPS].body = NULL; } if (hentry[H_FOLLOWUP_TO].body != NULL) { - compose->followup_to = hentry[H_FOLLOWUP_TO].body; + compose->followup_to = + unmime_and_free(hentry[H_FOLLOWUP_TO].body); hentry[H_FOLLOWUP_TO].body = NULL; } ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-03-15 23:59 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-03-15 14:52 [mdk-re] charset in sylpheed Vyt 2001-03-15 23:33 ` Sergey Vlasov 2001-03-15 23:59 ` Sergey Vlasov
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git