Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author itdoug

    (@itdoug)

    Please click the following link for instructions on what info to provide support. Please remove your domain information from the text output.

    https://sendpress.com/support/knowledgebase/what-information-should-i-provide-in-a-support-ticket/

    Could you also send me a message with the email that has improper characters? Perhaps we can make a recommendation for what you should use.

    Doug at sendpress dot com

    Please reference this forum post so we can keep track of which issue your email is for. A screenshot it you would also be helpful to show us what it looks like on your computer.

    Thread Starter isingkarim

    (@isingkarim)

    Hi

    Here is the debug output :

    WordPress Version: 3.5.1
    SendPress Version: 0.9.5.3
    PHP Version: 5.3.16
    PHP Memory Limit: 256 MByte
    PHP Memory Used: 29.13 MByte
    MySQL Version: 5.1.66

    Database Tables:
    wp_sendpress_subscribers_event OK
    wp_sendpress_report_url OK
    wp_sendpress_subscribers_status OK
    wp_sendpress_subscribers OK
    wp_sendpress_list_subscribers OK
    wp_sendpress_queue OK

    Ports:
    Port 25: blocked
    Port 465: open
    Port 587: open

    ### Begin System Info ###

    ## Please include this information when posting support requests ##

    Multi-site: No

    SITE_URL: https://xxxx
    HOME_URL: https://xxxx

    SP Version: 0.9.5.3
    WordPress Version: 3.5.1

    Platform: Linux
    Browser Name: Firefox
    Browser Version: 24.0
    User Agent String: Mozilla/5.0 (X11; Linux i686; rv
    :24.0) Gecko/20100101 Firefox/24
    .0

    Database Tables:
    wp_sendpress_subscribers_event OK
    wp_sendpress_report_url OK
    wp_sendpress_subscribers_status OK
    wp_sendpress_subscribers OK
    wp_sendpress_list_subscribers OK
    wp_sendpress_queue OK

    Sending Method: SendPress_Sender_Website

    PHP Version: 5.3.16
    MySQL Version: 5.1.66-0+squeeze1-log
    Web Server Info: Apache

    PHP Memory Limit: 256M
    PHP Post Max Size: 64M

    WP_DEBUG: Disabled

    WP Table Prefix: Length: 3 Status: Acceptable

    Show On Front: page
    Page On Front: Accueil #68
    Page For Posts: Accueil #68

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: Off

    UPLOAD_MAX_FILESIZE: 64MB
    POST_MAX_SIZE: 64MB
    WordPress Memory Limit: 40MB
    WP_DEBUG: Off
    DISPLAY ERRORS: On (1)
    FSOCKOPEN: Your server supports fsockopen.

    ACTIVE PLUGINS:


    SendPress: Email Marketing and Newsletters: 0.9.5.3

    CURRENT THEME:

    Twenty Twelve: X.X

    ### End System Info ###

    I am sending you an example email with the problem
    should be
    l’antre de la maison est l’oin
    but got
    l?antre de la maison est l?oin
    in the email

    if I put ' in the editing window, I got the correct character ‘

    Cheers

    Karim

    Plugin Author itdoug

    (@itdoug)

    Got your email. Will discuss with one of the developers and get back to you. Thanks.

    Thread Starter isingkarim

    (@isingkarim)

    Thanks
    I can not manage to have a correct “-“
    I have a ? instead

    Thread Starter isingkarim

    (@isingkarim)

    Hi

    Is there a quick fix I could make on the server ?
    (using the charset iso-8859-1)

    Cheers

    Karim

    Thread Starter isingkarim

    (@isingkarim)

    in class-sendpress-sender.php

    with

    function change($data,$input,$output){
    $input = strtoupper(trim($input));
    $output = strtoupper(trim($output));
    if($input == $output) return $data;
    if ($input == ‘UTF-8’ && $output == ‘ISO-8859-1’){
    $data = str_replace(array(‘~B?’,’~@~^’,’~@~\’),array(‘EUR’,'”‘,'”‘),$data);
    }
    /* if (function_exists(‘iconv’)){
    set_error_handler(‘sendpress_encoding_error_handler’);
    $encodedData = iconv($input, $output.”//IGNORE”, $data);
    restore_error_handler();
    if(!sendpress_encoding_error_handler(‘result’)){
    return $encodedData;
    }
    }
    if (function_exists(‘mb_convert_encoding’)){
    return mb_convert_encoding($data, $output, $input);
    }
    */

    $data = iconv(‘UTF-8’, ‘ISO-8859-1//TRANSLIT’, $data);

    /*
    if ($input == ‘UTF-8’ && $output == ‘ISO-8859-1’){
    return utf8_decode($data);
    }
    */
    if ($input == ‘ISO-8859-1’ && $output == ‘UTF-8’){
    return utf8_encode($data);
    }
    return $data;

    }

    it works for me

    Plugin Author itdoug

    (@itdoug)

    We can’t duplicate. We think it is something with your specific set up (server maybe). We are going to try to get an override put in the advanced settings so you can deal with it without having to fix the code with each update. Does that work for you?

    Plugin Author itdoug

    (@itdoug)

    .9.6 was just released. We tweaked some settings that we think will help. Let us know. If not we’ll put in the override for you.

    Thread Starter isingkarim

    (@isingkarim)

    Thanks
    I will try.

    I have recently upgraded, and now I am experiencing the same problem, did anyone manage to solve this?
    thanks

    Plugin Author itdoug

    (@itdoug)

    We have another encoding fix that will be released in. .9.7.

    thanks, is there a release date?

    Plugin Author itdoug

    (@itdoug)

    We released an update last night. Try upgrading and let us know if it fixed your problem.

    No, sorry. I updated this morning, but still have the same symbols appearing.

    alex

    Plugin Author itdoug

    (@itdoug)

    Alex, what is your encoding set to currently?

    IS0-8859-1?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Character encoding problem’ is closed to new replies.