Title: UTF-8 character encoding problem
Last modified: August 19, 2016

---

# UTF-8 character encoding problem

 *  [monkeynotes](https://wordpress.org/support/users/monkeynotes/)
 * (@monkeynotes)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/utf-8-character-encoding-problem/)
 * I am having a few problems when trying to submit content which has special characters
   like:
 * `’ ¢ € 漢字`
 * I would have expected these characters to get encoded into html entities but 
   for some reason they are not. They get stored in the database at first without
   being changed, but through subsequent revisions they get corrupted into something
   like this:
 * `ï¿½s â‚¬`
 * The database is utf8_unicode_ci and my html charset is utf-8.
 * I can’t for the life of my think what is going wrong. It seems WordPress is doing
   some sort of filtering and buggering up the characters. How do people write posts
   in non-latin charsets?

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

 *  Thread Starter [monkeynotes](https://wordpress.org/support/users/monkeynotes/)
 * (@monkeynotes)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/utf-8-character-encoding-problem/#post-1035789)
 * Doh. Fixed this by adding the following into wp-config.php
 *     ```
       define('DB_CHARSET', 'utf8');			// force utf8
       define('DB_COLLATE', 'utf8_general_ci');	// force collation
       ```
   
 * I also used phpMyAdmin to makes sure the collation matched.
 *  [mindwarp2000](https://wordpress.org/support/users/mindwarp2000/)
 * (@mindwarp2000)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/utf-8-character-encoding-problem/#post-1036182)
 * I think I have this problem.
 * And I tried what you suggested, but it hasn’t worked for me.

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

The topic ‘UTF-8 character encoding problem’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mindwarp2000](https://wordpress.org/support/users/mindwarp2000/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/utf-8-character-encoding-problem/#post-1036182)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
