Title: Character encoding problem
Last modified: August 21, 2016

---

# Character encoding problem

 *  [isingkarim](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/)
 * Hi
 * I have a problem with character encoding. I had upgraded to 0.9.5.3.
    The character‘
   appears as ? in the emails. The charset is IS0-8859-1 (using UTF-8 is worse) 
   It worked before the upgrade Thanks for any advice
 * Cheers
 * Karim
 * [http://wordpress.org/plugins/sendpress/](http://wordpress.org/plugins/sendpress/)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/character-encoding-problem-5/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/character-encoding-problem-5/page/2/?output_format=md)

 *  Plugin Author [itdoug](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4249996)
 * Please click the following link for instructions on what info to provide support.
   Please remove your domain information from the text output.
 * [http://sendpress.com/support/knowledgebase/what-information-should-i-provide-in-a-support-ticket/](http://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](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250043)
 * 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](http://xxxx)
    HOME_URL: [http://xxxx](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
 *  Plugin Author [itdoug](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250075)
 * Got your email. Will discuss with one of the developers and get back to you. 
   Thanks.
 *  Thread Starter [isingkarim](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250094)
 * Thanks
    I can not manage to have a correct “-“ I have a ? instead
 *  Thread Starter [isingkarim](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250168)
 * Hi
 * Is there a quick fix I could make on the server ?
    (using the charset iso-8859-
   1)
 * Cheers
 * Karim
 *  Thread Starter [isingkarim](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250182)
 * 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](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250241)
 * 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](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250246)
 * .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](https://wordpress.org/support/users/isingkarim/)
 * (@isingkarim)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250249)
 * Thanks
    I will try.
 *  [alexbeech](https://wordpress.org/support/users/alexbeech/)
 * (@alexbeech)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250262)
 * I have recently upgraded, and now I am experiencing the same problem, did anyone
   manage to solve this?
    thanks
 *  Plugin Author [itdoug](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250263)
 * We have another encoding fix that will be released in. .9.7.
 *  [alexbeech](https://wordpress.org/support/users/alexbeech/)
 * (@alexbeech)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250264)
 * thanks, is there a release date?
 *  Plugin Author [itdoug](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250265)
 * We released an update last night. Try upgrading and let us know if it fixed your
   problem.
 *  [alexbeech](https://wordpress.org/support/users/alexbeech/)
 * (@alexbeech)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250266)
 * No, sorry. I updated this morning, but still have the same symbols appearing.
 * alex
 *  Plugin Author [itdoug](https://wordpress.org/support/users/itdoug/)
 * (@itdoug)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/#post-4250267)
 * Alex, what is your encoding set to currently?
 * IS0-8859-1?

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/character-encoding-problem-5/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/character-encoding-problem-5/page/2/?output_format=md)

The topic ‘Character encoding problem’ is closed to new replies.

 * ![](https://ps.w.org/sendpress/assets/icon.svg?rev=979185)
 * [SendPress Newsletters](https://wordpress.org/plugins/sendpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sendpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sendpress/)
 * [Active Topics](https://wordpress.org/support/plugin/sendpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sendpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sendpress/reviews/)

 * 23 replies
 * 6 participants
 * Last reply from: [itdoug](https://wordpress.org/support/users/itdoug/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/character-encoding-problem-5/page/2/#post-4250291)
 * Status: not resolved