After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608487 - camel-WARNING **: Could not open converter for 'CP28591' to 'UTF-8' charset
camel-WARNING **: Could not open converter for 'CP28591' to 'UTF-8' charset
Status: RESOLVED DUPLICATE of bug 598564
Product: evolution-data-server
Classification: Platform
Component: Mailer
unspecified
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-01-29 21:00 UTC by Jonathon Jongsma
Modified: 2010-05-19 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add alias for CP28591 character encoding (744 bytes, patch)
2010-05-07 15:12 UTC, Philippe Gauthier
rejected Details | Review

Description Jonathon Jongsma 2010-01-29 21:00:05 UTC
I've been seeing this warning on the terminal quite a bit when using evolution-mapi to connect to an exchange server. 

(evolution:15160): camel-WARNING **: Could not open converter for 'CP28591' to 'UTF-8' charset

It seems that CP28591 is basically a windows alias for ISO-8859-1.  I'm not sure whether the proper place to fix this is in iconv or in camel...
Comment 1 Akhil Laddha 2010-02-01 04:06:44 UTC
If you are using mapi, i guess bug 586093 and bug 608320 should help you.
Comment 2 Philippe Gauthier 2010-05-07 15:12:17 UTC
Created attachment 160517 [details] [review]
Add alias for CP28591 character encoding

This patch adds an alias from CP28591 to ISO-8859-1 in order to get the correct character encoding conversion in iconv. This especially helps with MAPI accounts where CP2859x character encoding names are used by Exchange.

Tested with e-d-s 2.28.3.1 from Ubuntu package. Patched against Git HEAD.
Comment 3 Philippe Gauthier 2010-05-07 16:43:26 UTC
Additional alias mappings may be useful for the rest of the ISO-8859-x series. There seems to be such a list in glib for native Win32 encoding support [1]

At least for me, the proposed patch fixes the problem with "[?]" appearing and large parts of the mail are missing. This is because the mail I receive uses CP28591. I can guess that the same problem occurs with other CP2859x encoding.

[1] http://git.gnome.org/browse/glib/tree/glib/libcharset/localcharset.c#n240
Comment 4 Milan Crha 2010-05-19 11:20:00 UTC
Thanks for a bug report (by the way, against which version of evolution & friend?) and the patch, though it's not correct. The correct fix was supposed to go to evolution-mapi, because only that one generates messages with such encoding, and the encoding is just a windows thing, so it should be dealt with in evolution-mapi.

The bug where this was fixed is bug #598564, thus I'm marking this one as a duplicate.

*** This bug has been marked as a duplicate of bug 598564 ***