Title: Accented letters encoding issue for select fields
Last modified: January 19, 2018

---

# Accented letters encoding issue for select fields

 *  Resolved [synthview](https://wordpress.org/support/users/synthview/)
 * (@synthview)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/accented-letters-encoding-issue-for-select-fields/)
 * Helo, and thanks for your great plugin I use often!
    Today I had a special request
   of creating a form sending to different recipients, based on the topic selected
   in a select menu. I’ve found the “Dynamic Recipient for Contact Form 7” plugin
   that does it. However, I have an issue because when an accented letter is present
   in the select option, the encoding is screwed when arriving to the plugin’s hook.
   In other words, in your form configurator I put:
 * Je souhaite rejoindre votre équipe
 * It should display
    In CF7 configurator I’ve set Je souhaite rejoindre votre équipe
 * But if I do a print_r of the array passed to the other plugin I see
    Array ( [
   select-email] => Je souhaite rejoindre votre Ã©quipe )
 * Would you have any advice on how to get the accents preserved, or to be sent 
   stripped?
    Thanks

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/accented-letters-encoding-issue-for-select-fields/#post-9883338)
 * Here is their support forum:
 * [https://wordpress.org/support/plugin/contact-form-7-dynamic-mail-to](https://wordpress.org/support/plugin/contact-form-7-dynamic-mail-to)
 *  Thread Starter [synthview](https://wordpress.org/support/users/synthview/)
 * (@synthview)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/accented-letters-encoding-issue-for-select-fields/#post-9883954)
 * and there is any way to differentiate between select > option text and value ?
   
   This way I could set a non-accented value to pass to my functions but keep correctly
   written text for humans
 *  Thread Starter [synthview](https://wordpress.org/support/users/synthview/)
 * (@synthview)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/accented-letters-encoding-issue-for-select-fields/#post-9884253)
 * I’ve found the pipe technique and it does the job! Thanks

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

The topic ‘Accented letters encoding issue for select fields’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [synthview](https://wordpress.org/support/users/synthview/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/accented-letters-encoding-issue-for-select-fields/#post-9884253)
 * Status: resolved