#363 viewing HTML message encoded with different charset

closed-fixed
5
2005-10-10
2005-05-04
Peter Draganov
No

When viewing html version of an e-mail encoded with a
charset different from user's charset it isn't decoded.
This patch does this:

mime.diff -> /functions/mime.php
view_text.diff -> /src/view_text.php

Discussion

  • Peter Draganov
    Peter Draganov
    2005-05-05

    mime.diff, view_text.diff, i18n.diff

     
    Attachments
  • Peter Draganov
    Peter Draganov
    2005-05-05

    Logged In: YES
    user_id=1272164

    Improved patch which doesn't convert htmlspecialchars

    mime.diff -> /functions/mime.php
    view_text.diff -> /src/view_text.php
    i18n.diff -> /functions/i18n.php

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-08-16

    • assigned_to: nobody --> tokul
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-08-21

    Logged In: YES
    user_id=225877

    function magicHTML($body, $id, $message, $mailbox = 'INBOX',
    $charset)

    required option is used after optional.

    I think, i'll just add option to charset_decode() that
    disables html special chars sanitizing, transfer option to
    main decoding function in order to fix iso-2022-xx issues
    and use charset_decode after magicHTML() call.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-10-10

    • status: open --> closed-fixed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-10-10

    Logged In: YES
    user_id=225877

    Fixed in 1.4.6cvs.

    functions/i18n.php v 1.129.2.41
    functions/mime.php v 1.265.2.53
    src/view_text.php v 1.17.2.7