Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Content-Transfer-Encoding mode

  1. #1
    Join Date
    Aug 2008
    Posts
    9
    Rep Power
    7

    Default Content-Transfer-Encoding mode

    Hi dear guys,

    I'm runing a server with Fedora 7 and Zimbra 5.0.8 OpenSourceEdition.
    Users(with simplified chinese XP,IE6, GB2312) reports that some mail in traditional fonts couldn't read on the webmail interface but it is ok inside the Outlook or OE , while reading those mails at the webmail they displays as a blank box .

    it's fun that some mail in traditional fonts could dispaly normally at the webmail interface.

    from the mail header , both of them are writed as below:
    Content-Type: text/plain;
    charset="gb2312"

    but some difference in the encoding mode:

    Content-Transfer-Encoding: base64 ( the fonts display normal, readable.)

    Content-Transfer-Encoding: quoted-printable (some fonts display as a box)

    if those mails encoding in quoted-printable mode , only the english fonts and some of the chinese fonts display normally.

    How can i fix the problem to make my users read all the mail? I set the defualt COS using utf-8, but i think that isn't the main reason display the box fonts.
    Attached Images Attached Images

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Are you sure this isn't just a GB2312/GBK issue? See Bug 30432 – some characters displayed as boxes in chinese email bodies.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Aug 2008
    Posts
    9
    Rep Power
    7

    Smile There is some difference.

    Thanks..
    yes. I had readed the bug 30432 before post the new question. There is some difference. bug 30432 shows that the mail encoding in "base64", but my case is encoding in " quoted-printable" , is that have no effect to webmail whateven which encoding mode?

    and, I noticed that bug 30432 had mark as resolved.. but i cann't find where is the solution for this? another bug 30433 are still wait for some guys working? should i want for this 30433?

    many thanks for all your help...

  4. #4
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Bug 30432 is fixed for 5.5. Bug 30433 is not yet fixed, but we're shooting for 5.5. base64/quoted-printable is irrelevant to the issue.

    (Removed comment suggesting trying -Dsun.nio.cs.map=GBK/GB2312, as it probably won't work...)
    Last edited by dkarp; 08-19-2008 at 08:19 AM.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Aug 2008
    Posts
    9
    Rep Power
    7

    Default

    Oh~~~yeah...thanks!

  6. #6
    Join Date
    Aug 2007
    Posts
    10
    Rep Power
    8

    Default

    We found that mail from yahoo.com.cn with

    Content-Type: text/plain; charset=gb2312
    Content-Transfer-Encoding: 8bit

    is also having the same problem, gmail/outlook/thunderbird can decode the message but zimbra web client cannot.

    We are using 5.0.9 GA, what is the plan for fix?

    Thanks.

  7. #7
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Fixed in 5.5. There are rumors that you can add -Dsun.nio.cs.map=GBK/GB2312 onto the java command line to do this mapping. Please try it and let us know if it works!
    Bugzilla - Wiki - Downloads - Before posting... Search!

  8. #8
    Join Date
    Aug 2007
    Posts
    10
    Rep Power
    8

    Default

    Having read the post http://www.zimbra.com/forums/i18n-l1...racters-2.html

    and tried the switch before posting but no luck. I think it is not GBK/ GB2312 problem. Any other suggestions?

    Thanks.

  9. #9
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    No, that's almost certainly the problem. (We weren't sure if JavaMail supported that switch.) If this is really affecting you and you need it in 5.0.10, please open a support case on Bug 30432 – some characters displayed as boxes in chinese email bodies.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  10. #10
    Join Date
    Aug 2007
    Posts
    10
    Rep Power
    8

    Default

    Here is the original message.
    The weird thing is when I clicked "show original" in the zimbra web client, it opened a new window showing these codes in UTF8 which ALL chinese characters are scrambled which then I had to change the charset to GB2312 to show them correctly. Is that normal?
    I think the message was sent in GB2312 but not GBK, is that correct?

    Code:
    Return-Path: sender01@yahoo.com.cn
    Received: from mail.domain.com (LHLO mail.domain.com) (192.168.1.200) by
     mail.domain.com with LMTP; Tue, 2 Sep 2008 22:45:29 +0800 (GMT+08:00)
    Received: from localhost (localhost [127.0.0.1])
    	by mail.domain.com (Postfix) with ESMTP id 986B190808F
    	for <abc@domain.com>; Tue,  2 Sep 2008 22:45:29 +0800 (HKT)
    X-Quarantine-ID: <Z8Rrd1N-PH6V>
    X-Virus-Scanned: amavisd-new at 
    X-Amavis-Alert: BAD HEADER, Non-encoded 8-bit data (char D6 hex): To:
    	...xyz@163.com>,\n  "\326\354" "\303\364\302\224" <airl[...]
    X-Spam-Flag: NO
    X-Spam-Score: -0.596
    X-Spam-Level: 
    X-Spam-Status: No, score=-0.596 tagged_above=-10 required=6.8
    	tests=[AWL=1.383, BAYES_00=-2.599, HTML_MESSAGE=0.001,
    	RCVD_IN_SORBS_WEB=0.619]
    Received: from mail.domain.com ([127.0.0.1])
    	by localhost (mail.domain.com [127.0.0.1]) (amavisd-new, port 10024)
    	with ESMTP id Z8Rrd1N-PH6V for <abc@domain.com>;
    	Tue,  2 Sep 2008 22:45:24 +0800 (HKT)
    Received: from web15106.mail.cnb.yahoo.com (web15106.mail.cnb.yahoo.com [202.165.103.75])
    	by mail.domain.com (Postfix) with SMTP id AE6B690805A
    	for <abc@domain.com>; Tue,  2 Sep 2008 22:45:23 +0800 (HKT)
    Received: (qmail 34899 invoked by uid 60001); 2 Sep 2008 14:45:22 -0000
    DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
      s=s1024; d=yahoo.com.cn;
      h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
      b=NE1tDY2QzVkJZGZR6sXK8Lkqv1XxbhCskZesDDqfZSbn63y06jz8aBMtcilVAObxP4U4keAmSJU1chvj029oVs7iaiRxYZgVy43T+nGBCFcK3uk4EncRvdJ1MjguVUMhsRljfW4BiGaDvbPlrQgBRtd+7uS2OTokVgbSeCFxz6A=;
    X-YMail-OSG: iuGnKKEVM1lMxYGavYFqJbnNMeHZTBKpycgmc5yohxqI0E0jm6IxTf3hLDeKfK7VV77Z.B3QUFlG4Pf6cTOtqnthKjEkzaERfu05a45zX5_ryOzaEUXRjVlvgtpNW4k-
    Received: from [220.199.222.46] by web15106.mail.cnb.yahoo.com via HTTP; Tue, 02 Sep 2008 22:45:21 CST
    Date: Tue, 2 Sep 2008 22:45:21 +0800 (CST)
    From: Sender01 <sender01@yahoo.com.cn>
    Subject: =?gb2312?q?=D7=AA=B7=A2=A3=BA=20=EAP=D3=DA=C9=CF=BA=A3=8C=A7=D9=8F=86T?=
    To: =?gb2312?q?=EA=90=20=D6=BE=C3=F7?= <xyz@163.com>,
      "abc" abc@domain.com>
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="0-956584248-1220366721=:34256"
    Content-Transfer-Encoding: 8bit
    Message-ID: <52296.34256.qm@web15106.mail.cnb.yahoo.com>
    
    --0-956584248-1220366721=:34256
    Content-Type: multipart/alternative; boundary="0-1859033879-1220366721=:34256"
    
    --0-1859033879-1220366721=:34256
    Content-Type: text/plain; charset=gb2312
    Content-Transfer-Encoding: 8bit
    
    
    
    nj-yalancao <nj-yalancao@163.com> 写道:  日期: Tue, 2 Sep 2008 12:59:48 +0800 (CST)
    发件人: nj-yalancao <nj-yalancao@163.com>
    收件人: Sender01 <sender01@yahoo.com.cn>
    主题: 關于上海導購員
    
       Linda:
       
            您好!將我對上海導購員的幾點看法及建議發給您,敬請審閱。
                 
       
       
       
                                                                曹天
    
    
      
    
     
     
    
           
    ---------------------------------
     雅虎邮箱,您的终生邮箱!
    --0-1859033879-1220366721=:34256
    Content-Type: text/html; charset=gb2312
    Content-Transfer-Encoding: 8bit
    
    <BR><BR><B><I>nj-yalancao &lt;nj-yalancao@163.com&gt;</I></B> 写道:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">日期: Tue, 2 Sep 2008 12:59:48 +0800 (CST)<BR>发件人: nj-yalancao &lt;nj-yalancao@163.com&gt;<BR>收件人: Linda &lt;sender01@yahoo.com.cn&gt;<BR>主题: 關于上海導購員<BR><BR>  <DIV>&nbsp;Linda:</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 您好!將我對上海導購員的幾點看法及建議發給您,敬請審閱。</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     曹天</DIV><BR><!-- footer --><BR>  <HR>  <FONT style="FONT-SIZE: 12px; LINE-HEIGHT: 15px">超大花房赠送,60万</FONT><A style="FONT-SIZE: 12px; COLOR: blue; LINE-HEIGHT: 15px; TEXT-DECORATION: underline" href="http://popme.163.com/link/003984_0829_258.html">轻松入住顺鑫花语</A></BLOCKQUOTE><BR><p> 
    
    
          <hr size=1><a href="http://cn.mail.yahoo.com/"> 雅虎邮箱,您的终生邮箱!</a>
    --0-1859033879-1220366721=:34256--
    --0-956584248-1220366721=:34256

    Last edited by seahawk; 09-16-2008 at 05:22 PM.

Similar Threads

  1. Problems - post 5.0.4 upgrade
    By bradb21 in forum Administrators
    Replies: 12
    Last Post: 04-06-2008, 09:40 PM
  2. SLES10: Problem upgrading from Zimbra NE 5.0 to NE 5.0.1
    By trapanator in forum Installation
    Replies: 11
    Last Post: 02-27-2008, 01:51 PM
  3. failed to read html content in webmail HTML mode
    By Frederick Cheung in forum Administrators
    Replies: 1
    Last Post: 02-24-2008, 05:32 PM
  4. Installation Issues - SLES 10_Zimbra 5.0 Beta 3
    By rhartman in forum Installation
    Replies: 3
    Last Post: 01-14-2008, 07:18 AM
  5. content filter attacked?
    By ahhhh in forum Administrators
    Replies: 2
    Last Post: 03-26-2007, 06:29 PM

Posting Permissions

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