Title: UTF8 Hex encoded post_name?
Last modified: August 20, 2016

---

# UTF8 Hex encoded post_name?

 *  Resolved [jsergio123](https://wordpress.org/support/users/jsergio123/)
 * (@jsergio123)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/utf8-hex-encoded-post_name/)
 * I am adding posts into the DB manually which is working fine except for one issue
   which is “post_name” in the “wp_post” table. I can format “post_name” when all
   characters are alphanumeric but when there is a non-alphanumeric chars is where
   I have problems. I don’t want to remove the non-alphanumeric chars, I just want
   to format them like if I was using the admin section to add new posts. For example:
 * post_title:
    this is an example of the multiplication sign × in the post name
   post_name: this-is-an-example-of-the-multiplication-sign-%c3%97-in-the-post-name
 * The links to the post are 404 not found when non-alphanumeric chars are present.
   sanitize_title_blah_blah() just removes it, urlencode() doesn’t work, and htmlentities()
   is fail also.
 * %c3%97 seems to be the UTF8 HEX for ×(MULTIPLICATION SIGN) (refer: [http://www.utf8-chartable.de/](http://www.utf8-chartable.de/)
   to: c3 97).
 * any help would be greatly appreciated, thank you.

The topic ‘UTF8 Hex encoded post_name?’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [jsergio123](https://wordpress.org/support/users/jsergio123/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/utf8-hex-encoded-post_name/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
