Menu

Problem in Chinese Encoding Sender Name?

george
2006-07-28
2013-04-02
  • george

    george - 2006-07-28

    Dear All,

    I just found out, when i tried to send an email using dotnetopenmail, with a send from Name(format like this) :
    John, Wong (Chinese Characters)

    by using DotNetOpenMail.Encoding.EncodingType.QuotedPrintable, and charset is UTF-8 in Sender Name, it could not show a correct Send Name when i received in Windows XP Outlook express.

    It will show something like this:
    =?utf-8?Q? John=20 <=?utf-8?Q? John=20>; =20wong=20=E6=9D=8E=E5=9C=8B=E9=BC=8E ?=

    If i change the Sender Name like:
    John Wong (Chinese Characters), with no "," between John Wong, it would correctly show the Name.

    If i change the encoding type to Base64, i would get the result:
    "John, Wong (Chinese Characters)"

    However, if i received in Windows 2000, i will get what i am expected just like :
    John, Wong (Chinese Characters), there is no quote between the Sender Name.

    1. Is there any ways to get the result just like Windows 2000 does?

    2. Why is it if i use a "," between the name and the Chinese Characters, it would display an incorrect sender name in XP Outlook Express?

    Thank you very much
    Regards
    George

     
    • Mike Bridge

      Mike Bridge - 2006-07-28

      Hi George,

      I'm guessing that the email clients are a little finicky when it comes to UTF-8.  When you receive mail, what encoding is it normally?  Unfortunately I don't know what the practical standards are for Chinese emails vs. the theoretical standards.  Have you tried one of the Chinese character sets?

      -Mike

       
    • george

      george - 2006-08-01

      Hi Mike,

      I have tried the Big5 as well, i still cannot read the chinese Sender name in XP outlook.

      It is still showing the folowing Sender name, eg.
      =?Big5?Q? John=20 <=?utf-8?Q? John=20>; =20wong=20=E6=9D=8E=E5=9C=8B=E9=BC=8E ?= 

      When i tried to send the email in chinese or english windows2000 and windows98, i can correctly read the sender name. However, when showing in WindowsXP, it cannot.

      Why is it only happened in XP Outlook Express?
      It seems only happen when the name pattern is John, Wong (chinese chars).

      Thanks you very much.
      Regards

      George

       
      • Mike Bridge

        Mike Bridge - 2006-08-01

        Hi-

        Hmmm.... Can you send me a code example that creates the problem email?

        Thanks,

        -Mike

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.