Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    As far as I know all charset issues have been resolved.

    Thread Starter sm3yfx

    (@sm3yfx)

    No still not working, i have same text in both header and message text and in header its ok but in message its cutoff, check self always use latest postie https://nyheter.4an.eu/?tag=larm

    Regards Lars-Gunnar

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Please send a sample message to [email protected] and I will see what is going on.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Thanks for the samples. There was a bug in Postie that may have been affecting you, but was not related to charsets. Your email titles were triggering the category logic and there was a false positive detected. This will be fixed in 1.4.37.

    I did not have any issues with characters like “???”

    What version of PHP are you using?

    Thread Starter sm3yfx

    (@sm3yfx)

    Ok, i run

    PHP Version 5.4.7
    Fastcgi/nginx

    Tnx Lars-Gunnar

    Plugin Author Wayne Allen

    (@wayneallen-1)

    1.4.37 has been released

    Thread Starter sm3yfx

    (@sm3yfx)

    Hello there again i still the header is ok but the message is cutoff with the swe char, i have the latest.38 installed. du you whant i forward som day to you and you can debug ?

    Regards Lars-Gunnar

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I think the next step is for me to look at your system directly. Please send a note to [email protected] if you’d like to do this.

    Problem still actual.

    Everything works fine for me, except that everything in the body gets deleted after first non-English letter (i.e. ??ü?).

    Plugin Author Wayne Allen

    (@wayneallen-1)

    What version of Postie are you using?

    Version 1.5.16

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Can you send a sample message to [email protected]
    If at all possible use the same process you are using for your WP install. I.e. please don’t forward messages as that tends to significantly change the internal structure of the email.

    I can confirm this bug also, Finnish characters ??? cut the message, or they are interpreted in a wrong manner (? > ā or something). Reminds me of problems when opening ISO-8859-1 encoded files with UTF-8 editor.

    However, I did not have this problem before I updated couple of days ago from an older version, just can’t remember what is was. I have a backup for the database, where can I find the older version number?

    I managed to solve this!

    The problem is with postie-functions.php line 1090
    $meta_return .= htmlentities($part->body);

    Which should be
    $meta_return .= htmlentities($part->body, ENT_QUOTES, “UTF-8”);

    Because default encoding parameter for htmlentities was changed to UTF-8 in PHP 5.4.0 so it fails with older versions (if I’m right it does an UTF-8 to ISO-8859-1 conversion here, which causes the problems).

    I am starting to test.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Swedish’ is closed to new replies.