Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#193 Problems with danish chars on forward

closed-fixed
Compose (50)
5
2004-11-07
2002-05-01
Frans la Cour
No

When forwarding the subject line does not get decoded
right if it contains danish chars "זרו".

Example:

-------- Original Message --------
Subject: =?iso-8859-1?Q?
Dette_er_=E6=F8=E5_og_=C6=D8=C5?=
From: "Frans la Cour" <flc@metier.dk>
Date: Wed, May 1, 2002 1:54
To: <flc@metier.dk>

Adding an imap_mime_header_decode to compose.php fixes
this.

Regards

Frans

Discussion

  • Frans la Cour
    Frans la Cour
    2002-05-01

    Diff of compose.php

     
    Attachments
  • Frans la Cour
    Frans la Cour
    2002-05-01

    Logged In: YES
    user_id=257630

    This applies to both 1.25 and 1.2.6

     
  • Logged In: YES
    user_id=591870

    All right.
    But, how can I fix this problem in the field From?
    I try with a new variable, but not work.

    Can you help me?

    Thanks,
    Masimanu.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2003-12-26

    Logged In: YES
    user_id=225877

    please confirm that you can reproduce this in SM 1.4.2, when
    you use iso-8859-1 based translation.

    imap_mime_header_decode can't be used. It depends on php
    imap module and squirrelmail should not depend on it in
    default config.

    SquirrelMail uses own decoding functions.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2003-12-26

    • assigned_to: nobody --> tokul
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2004-11-07

    • status: open --> closed-fixed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2004-11-07

    Logged In: YES
    user_id=225877

    1.4.4cvs and 1.5.1cvs contain functions that convert from
    different charsets. If you use translation in iso-8859-1
    charset, lossy_encoding option must be enabled, because
    iso-8859-1 does not cover some symbols that can be used in
    headers.