Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter isingkarim

    (@isingkarim)

    Thanks
    I will try.

    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

    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)

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

    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: http://xxxx
    HOME_URL: http://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

Viewing 5 replies - 1 through 5 (of 5 total)