Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-12-2006, 05:15 PM
Partner (VAR/HSP)
 
Posts: 145
Default Subject encoding problem

Hi,

when I send a Mail to my zimbra account with a subject line containing special characters, which are ISO-8859-1 (or other, like ISO-8859-2) encoded, the zimbra web mail client does not display the subject correcly. The only encoding without that problem seems to be UTF-8.

The subject seems to be correctly encoded:

Subject: =?iso-8859-1?Q?B=C3=BCgelbrett?=

Zimbra webclient displays:

Bügelbrett

There is no problem with the body of the message.

I am running 4.0.4 on REHL4-64
I have installed the compat libraries:
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
compat-libstdc++-33-3.2.3-47.3 (32-Bit Version)

I have the impression, i am missing something. I have searched the forum up and down and found various threads about header encoding. But none with exactly that problem

Any hints?

Regards
Thomas
Reply With Quote
  #2 (permalink)  
Old 12-12-2006, 08:27 PM
Zimbra Employee
 
Posts: 4,784
Default

Are you running the latest version (4.0.4)? Have you tested with the 4.5 beta? Can you post as an attachment the 'Show Original' result from a message with the problem?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 12-12-2006, 08:29 PM
Zimbra Employee
 
Posts: 1,434
Default Not the fault of the receiving end!

Quote:
Originally Posted by deepblue View Post
when I send a Mail to my zimbra account with a subject line containing special characters, which are ISO-8859-1 (or other, like ISO-8859-2) encoded, the zimbra web mail client does not display the subject correcly. The only encoding without that problem seems to be UTF-8.

The subject seems to be correctly encoded:

Subject: =?iso-8859-1?Q?B=C3=BCgelbrett?=

Zimbra webclient displays:

Bügelbrett
Your subject is not correctly encoded. C3 is à and BC is ¼ in iso-8859-1. The two bytes C3 BC together are ü in utf-8, but your message subject is explictly indicating iso-8859-1, and that's what it's being decoded as.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 12-13-2006, 09:34 AM
Partner (VAR/HSP)
 
Posts: 145
Default

Quote:
Originally Posted by dkarp View Post
Your subject is not correctly encoded. C3 is à and BC is ¼ in iso-8859-1. The two bytes C3 BC together are ü in utf-8, but your message subject is explictly indicating iso-8859-1, and that's what it's being decoded as.
You are so right!

I sent the mail from a broken mailer. I doublechecked everything and now zimbra displays the subject correcly regardless of the encoding (ISO-8859-1, ISO-8859-2, UTF-8...)

Thanks a lot
Thomas
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 09:13 AM
Special Member
 
Posts: 126
Default

I have the same pb with a 4.5.10 version of zimbra.

Here is the subject that is not decoded :

=?iso-8859-1?Q?Rappel Vendredi 4 avril 18h INVITATION Rugby Club Aquitaine - R=E9seau Entreprendre Aquitaine?=
Reply With Quote
  #6 (permalink)  
Old 04-01-2008, 11:30 AM
Zimbra Employee
 
Posts: 1,434
Default

You're not allowed to have spaces inside an RFC 2047 encoded-word (i.e. between the =? and the ?=). Our current MIME parser enforces this rule strictly. We plan on loosening the rules in the future -- see Bug 20857 - accept spaces in RFC2047-encoded header fields.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0