Re: [Evolution-hackers] Evo won't display special characters

2010-07-12 Thread Milan Crha
On Sat, 2010-07-10 at 19:28 -0400, Paul Smith wrote:
 Is there any hope of anyone looking into this?  I'm not even sure if
 it's a gtkhtml bug or an Evo bug at this point, all I know is I'm
 constantly being forced to forward email to my Exchange account and read
 it with Outlook in Crossover Linux, because Evo can't display these
 messages.

Hi,
yup, I've this in my todo list, since 21/06/2010, but due to other work
I didn't get to it yet. I'm sorry.

 If someone provides a patch I'm happy to test it.

Thanks, I appreciate it.

Just to summarize, you've an issue involving
https://bugzilla.gnome.org/show_bug.cgi?id=610797
that with a patch the reading is mostly fixed (when message is
refetched, maybe - as I prefer the recent evolution-mapi git master due
to its changes which couldn't be done in gnome-2-30, and recent
openchange svn trunk (or say at least revision 1922) due to its changes
with unicodeness and such, which are not part of openchange 0.9), but
the patch also broke composer.

Is it only this or more things left?

Thanks and bye,
Milan


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-07-12 Thread Paul Smith
On Mon, 2010-07-12 at 09:51 +0200, Milan Crha wrote:
 yup, I've this in my todo list, since 21/06/2010, but due to other work
 I didn't get to it yet. I'm sorry.

No problem.

 Just to summarize, you've an issue involving
 https://bugzilla.gnome.org/show_bug.cgi?id=610797
 that with a patch the reading is mostly fixed (when message is
 refetched, maybe - as I prefer the recent evolution-mapi git master due
 to its changes which couldn't be done in gnome-2-30, and recent
 openchange svn trunk (or say at least revision 1922) due to its changes
 with unicodeness and such, which are not part of openchange 0.9), but
 the patch also broke composer.

To be clear, I'm seeing this with the IMAP (and IMAPX) backends, not
with MAPI (it might happen with MAPI, too, but it's not MAPI-related).
I'm using the gnome-2.30 branch at the moment because building master is
not working for me; something related to the new Gnome 3.0 changes or
whatever I suppose.  I'll try to get back and get this working again
soon.

Since composer broke so completely I backed out the patch again after
about 10 minutes and can't be sure there wasn't more, but yes, in the
time that I used it I was able to read email without any problems and
the only issue I noticed was the composer issue.


Thanks Milan!

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-07-12 Thread Milan Crha
On Mon, 2010-07-12 at 12:56 -0400, Paul Smith wrote:
  Just to summarize, you've an issue involving
  https://bugzilla.gnome.org/show_bug.cgi?id=610797
  ...

 To be clear, I'm seeing this with the IMAP (and IMAPX) backends, not
 with MAPI (it might happen with MAPI, too, but it's not MAPI-related).
 ...

Hi,
OK, let's move to the above bug report. I will go by David's pointers
from the other reply, because if you see this in IMAP, then it is quite
different issue than I thought initially.
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-07-11 Thread David Woodhouse
On Sat, 2010-04-17 at 23:13 -0400, Paul Smith wrote:
 I understand that this is very likely an invalid message and that \224
 is a bogus character in an iso-8859-1 charset.

No, it's a valid character in ISO8859-1. But your message isn't being
interpreted as ISO8859-1. Its Content-Type: header just says text/html.

We seem to be ignoring the META HTTP-EQUIV... tag in the HTML itself,
which is trying to override the Content-Type: header and _is_ correctly
specifying the character set.

I suspect we're kind of justified in ignoring that -- this *isn't* HTTP,
and the message probably *is* technically invalid in MIME. But arguably
we could try better to interpret it.

Of course, the bug(s) you report with invalid characters should still be
fixed; it's just that you probably shouldn't be seeing them with _this_
particular test case.

FWIW, I get weird behaviour on your test case (in HEAD) even when I fix
the Content-Type: header. When I reply, signature seems to end up to the
_right_ of the quoted text, which is a little odd...
http://david.woodhou.se/sig-on-right.png

I think it's something to do with the table not having a closing tag --
but that shouldn't screw up the _reply_. Another separate bug though, I
think.

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-07-11 Thread David Woodhouse
On Sun, 2010-07-11 at 16:00 +0100, David Woodhouse wrote:
 
 We seem to be ignoring the META HTTP-EQUIV... tag in the HTML itself,
 which is trying to override the Content-Type: header and _is_ correctly
 specifying the character set. 

Hrm. That _is_ actually supported by gtkhtml, but evolution disables
that feature and does the charset conversion _for_ us.

We could perhaps put a dirty hack into em_format_format_text() which
will peek at HTML content and look for the META HTTP-EQUIV... tag, but
that's horrid -- it would be nicer if we could intercept the signal that
gtkhtml's htmltokenizer is already sending to itself, and use that as a
trigger to redisplay the mime part in question.

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-06-20 Thread Paul Smith
On Wed, 2010-04-28 at 14:14 +0200, Milan Crha wrote:
 On Sat, 2010-04-17 at 23:13 -0400, Paul Smith wrote:
  Hi all.  Occasionally I get email from someone and they include a
  special character in the email (this is html mail).  When this happens,
  the entire paragraph/section of that email is completely elided and only
  a [?] token is shown in the email, no matter how large the HTML segment
  is.
 
   Hi,
 there is filled a very similar MAPI bug here:
 https://bugzilla.gnome.org/show_bug.cgi?id=600386
 
 though with respect of sanitizing incorrect letters is filled:
 https://bugzilla.gnome.org/show_bug.cgi?id=610797

Hi Milan; I finally got around to trying this (sorry for the delay).
The patch attached to the second bug did indeed fix my problem and I was
able to read my emails with only occasional ? glyphs instead of
entire paragraphs elided.  Yay!

Unfortunately, I realized that this completely messed up the Evo
composer, so that when I tried to send an email every character I typed
showed that character, then 3-4 bizarre graphical glyphs afterwards.

So, I had to remove the patch again.

It would be really, really nice if someone could provide a patch that
fixes the display issue without crushing the composer.

I'll be happy to test it and hopefully it won't take me so long next
time.

Cheers!

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evo won't display special characters

2010-04-27 Thread Paul Bolle
On Tue, 2010-04-27 at 12:47 -0400, Paul Smith wrote:
 Anyone have any thoughts on this?  If I file a bug, should it go to
 evolution, or something like gtkhtml or libxml or something else?
 
 I'm not really clear on the breakdown in responsibility for the Gnome
 components in Evo.

When in doubt I'd just file it for evolution (and I suppose I'd also
mention my doubts about which module is at fault). If another module is
to blame, the report will get transferred to it (eventually).


Paul Bolle

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers