Title: WP-Contactform and encoding error
Last modified: August 18, 2016

---

# WP-Contactform and encoding error

 *  [browserdius](https://wordpress.org/support/users/browserdius/)
 * (@browserdius)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/)
 * Well, I just dont know what to do anymore.
    I’ve installed wp-contactform and
   everything goes fine until someone uses portuguese characters. For the user, 
   eveything’s ok but when I receive the form result in my mail it cames all strangely
   formated such as: NÃ£o is NÃƒÂ£o. Could someone help me in this one? I really
   need this characters to work. Most of my site visitors are portuguese… Note: 
   The encoding that I’ve set in Options is UTF-8 Thanks

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

 *  [swordfish](https://wordpress.org/support/users/swordfish/)
 * (@swordfish)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/#post-246416)
 * I encountered similar problem.
 * You know what, you can test it yourself.
 * I wrote a test mail to see if the installed plugin is working.
 * I wrote this: I’ve been reading…
    And in my mail box I see IÃ¢â‚¬â„¢ve been reading…
 *  Thread Starter [browserdius](https://wordpress.org/support/users/browserdius/)
 * (@browserdius)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/#post-246420)
 * Hey Swordfish. I’ve tryed just now with “I’ve been reading…” and it worked. But
   it does not work with NÃ£o. Could you try?
 *  [alfdesignsk](https://wordpress.org/support/users/alfdesignsk/)
 * (@alfdesignsk)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/#post-247204)
 * Hi,
    I had problem with slovak encoding, and UTF-8 charset. But I solve this 
   problem with some commands in mysql. see [blog.alfdesign.sk](http://blog.alfdesign.sk/?p=2)
 *  [Ryan Duff](https://wordpress.org/support/users/ryanduff/)
 * (@ryanduff)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/#post-247205)
 * This was fixed in [changeset 3599](http://dev.wp-plugins.org/changeset/3599).
   You can wait for 1.4 or change around line 148 in wp-contactform.php
 * change
 * `$headers .= "Content-Type: text/plain; $encodingn"; // sets the mime type`
 * to
 * `$headers .= "Content-Type: text/plain; charset=\"" . get_settings('blog_charset')."\"
   n";`
 * which will correctly set the MIME headers so it will recognize it as UTF-8 or
   whatever you’re using.

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

The topic ‘WP-Contactform and encoding error’ is closed to new replies.

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [Ryan Duff](https://wordpress.org/support/users/ryanduff/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/wp-contactform-and-encoding-error/#post-247205)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
