Menu

Folding of long plain ascii text is missing

A. Brandt
2010-10-13
2013-04-25
  • A. Brandt

    A. Brandt - 2010-10-13

    The folding of long plain ascii text is missing.

    Example:
    mb.setSubject(vmime::text ("aaaaaaaaaaaa…aaaaaaaaa"));

    encodes to:
    Subject: aaaaaaaaaaaa…aaaaaaaaa

    If there are some special characters in the string, the encoded word is folded correctly.

    mb.setSubject(vmime::text ("äaaaaaaaaaaaa…aaaaaaaaa"));

    Subject: =?UTF-8?Q?=C3=A4aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?=
    =?UTF-8?Q?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?=

     
  • A. Brandt

    A. Brandt - 2010-10-19

    Thanks,

    it works for me.

    Best Regards
    Achim

     

Log in to post a comment.