Results 1 to 6 of 6

Thread: Subject encoding problem

  1. #1
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    8

    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

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    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!

  4. #4
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    8

    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

  5. #5
    NOZIL is offline Special Member
    Join Date
    Nov 2006
    Location
    Bordeaux, France
    Posts
    140
    Rep Power
    8

    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?=

  6. #6
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-31-2007, 11:17 PM
  2. Problem with encoding after 4.5.2 upgrade.
    By inigoml in forum Administrators
    Replies: 19
    Last Post: 02-27-2007, 07:24 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  4. Reading attachments problem
    By lenjacobs in forum Users
    Replies: 2
    Last Post: 12-27-2005, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •