Menu

#362 Problems to attach files with German umlauts to a mail

Reproducible
closed-fixed
5
2021-12-08
2009-03-25
Tim Gerundt
No

I tried today to add attachments with German umlauts (äöü) to a mail. I can add them, but the umlauts get lost.

Is this a NOCC or a webserver problem?

Discussion

  • Tobias Mathes

    Tobias Mathes - 2009-04-04

    I can reproduce this behaviour, as far as I can see in the source code it looks like a NOCC problem.

     
  • Tim Gerundt

    Tim Gerundt - 2009-04-23

    One of the problems is, that NOCC not correctly encode the filename from a attachment.

    If I send a file with the (funny) name "Ümlaute.txt" with Thunderbird, I got the following source code:

    Content-Type: text/plain;
    name="=?ISO-8859-15?Q?=DCmlaute=2Etxt?="
    Content-Transfer-Encoding: base64
    Content-Disposition: inline;
    filename*=ISO-8859-15''%DC%6D%6C%61%75%74%65%2E%74%78%74

    With NOCC is looks like the following lines:

    Content-Type: text/plain;
    name="Ümlaute.txt"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
    filename="Ümlaute.txt"

    To show the attachment links in a mail, we use the function "link_att()". In this function we use nocc_imap::mime_header_decode() to decode the filename. Unfortantly this broke the string, if it is not decode...

     
  • Tim Gerundt

    Tim Gerundt - 2009-05-05

    use imap_utf8() in link_att() function

     
  • Tim Gerundt

    Tim Gerundt - 2009-05-05

    We can fix one of the problems, if use "nocc_imap::utf8()" instead "nocc_imap::mime_header_decode()" in the link_att() function.

     
  • Tim Gerundt

    Tim Gerundt - 2009-05-10

    use imap_utf8() in html/send.php

     
  • Tim Gerundt

    Tim Gerundt - 2009-05-10

    A other problem is "nocc_imap::mime_header_decode()" in the html/send.php file. If we use here also "nocc_imap::utf8()" we have no problem. I'am not sure, if we really a convert function at this place, but it also not hurt. ;)

     
  • Oliver Heil

    Oliver Heil - 2014-11-20
    • status: open --> accepted
    • assigned_to: Oliver Heil
    • Group: --> Reproducible
     
  • Oliver Heil

    Oliver Heil - 2014-11-20

    Confirmed and in work...

     
  • Oliver Heil

    Oliver Heil - 2021-12-08
    • status: accepted --> closed-fixed
     

Log in to post a comment.