Title: Plugin Support for UTF-8
Last modified: April 18, 2017

---

# Plugin Support for UTF-8

 *  [Binternet](https://wordpress.org/support/users/binternet/)
 * (@binternet)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-support-for-utf-8/)
 * Hey There,
    Just used this great plugin and it works great.
 * just one thing, in the Excel export he don’t work well with Latin Characters.
 * so i fixed it.
 * i fix it in file: lib/cf7_adb.class.php
    Line: 77
 *     ```
       			//header("Content-Disposition: attachment; filename=\"$filename\"");
       			//header("Content-Type: application/vnd.ms-excel;");
   
                   //headers
                   header('Pragma: public');
                   header('Expires: 0');
                   header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
                   header('Content-Description: File Transfer');
                   header('Content-Type: text/csv');
                   header("Content-Disposition: attachment; filename=\"$filename\"");
                   header('Content-Transfer-Encoding: binary');
   
       //open file pointer to standard output
                   $fp = fopen('php://output', 'w');
   
       //add BOM to fix UTF-8 in Excel
                   fputs($fp, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) ));
   
                   fclose($fp);
       ```
   
 * Hope it works well.
    Good luck!

The topic ‘Plugin Support for UTF-8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-advanced-database_d0d0d0.
   svg)
 * [Contact Form Advanced Database](https://wordpress.org/plugins/contact-form-advanced-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-advanced-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-advanced-database/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-advanced-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-advanced-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-advanced-database/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)
 * [utf-8](https://wordpress.org/support/topic-tag/utf-8/)

 * 0 replies
 * 1 participant
 * Last reply from: [Binternet](https://wordpress.org/support/users/binternet/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-support-for-utf-8/)
 * Status: not a support question