Re: [patch] treatment of wrongly encoded 8-bit messages
- From: Albrecht Dreß <albrecht dress arcor de>
- To: Pawel Salek <pawsa theochem kth se>
- Cc: Balsa-Liste <balsa-list gnome org>
- Subject: Re: [patch] treatment of wrongly encoded 8-bit messages
- Date: Thu, 3 Apr 2003 20:48:24 +0200
Am 03.04.03 11:08 schrieb(en) Pawel Salek:
> When I try to reply such a misformatted message, I get loads of
>
> (balsa:9949): Gtk-CRITICAL **: file gtktextbuffer.c: line 543
> (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
> NULL)' failed
Ooops... As the replacement of badly encoded chars was moved out of
libmutt, content2reply now gets the wrong stream with bad chars... An
extra libbalsa_utf_sanitize() fixes it (see below). The same problem
occurs with printing, btw (also fixed below).
The patch also removes an extra paranoia check in the gpg stuff, which is
a result of the wonders of copy & paste, but completely silly at that
point.
Sorry for the chaos,
Cheers,
Albrecht.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@arcor.de
_________________________________________________________________________
balsa-hotfix-2003-04-03.gz
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]