Title: Stop converting from HTML character codes
Last modified: December 3, 2017

---

# Stop converting from HTML character codes

 *  [sunima](https://wordpress.org/support/users/sunima/)
 * (@sunima)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/)
 * Hello,
    i use HTML character hexadecimal code in my wordpress in the editors “
   Text” mode. (with embedded font and special class).
 * Example for hexcode: <span class=”myclass”>&_#x1d49c; &_#x1d49d; &_#x1d49e;</
   span> (underlines “_” because of filtering here in the forum)
 * When i switch from editors “Text” mode to editors “Visual” mode and back to the“
   Text” mode, the hexadecimal codes are converted in spaces in (old and updating)
   wordpress with old database and convert in UTF-8 chars in a new wordpress with
   new database. Thats a problem.
 * Example for converted hex code: <span class=”myclass”>𝒜 𝒝 𝒞</span>
 * How can I turn off converting HTML hex codes?
    -  This topic was modified 8 years, 6 months ago by [sunima](https://wordpress.org/support/users/sunima/).
    -  This topic was modified 8 years, 6 months ago by [sunima](https://wordpress.org/support/users/sunima/).
    -  This topic was modified 8 years, 6 months ago by [sunima](https://wordpress.org/support/users/sunima/).
    -  This topic was modified 8 years, 6 months ago by [sunima](https://wordpress.org/support/users/sunima/).
    -  This topic was modified 8 years, 6 months ago by [sunima](https://wordpress.org/support/users/sunima/).

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

 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/#post-9745578)
 * Hi Sunima!
 * This is a bit of an advanced topic so I’m not going to delve into this too far
   but I would recommend reading up on the wptexturize function inside WordPress.
   [https://developer.wordpress.org/reference/functions/wptexturize/](https://developer.wordpress.org/reference/functions/wptexturize/)
 *  Thread Starter [sunima](https://wordpress.org/support/users/sunima/)
 * (@sunima)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/#post-9745770)
 * Hi bemdesign,
    on your link, the topic is “Replaces common plain text characters
   into formatted entities” and my problem is: stop “Replaces character entities
   into common plain text characters”.
 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/#post-9746142)
 * Sorry! You might also take a look at [https://developer.wordpress.org/reference/hooks/esc_html/](https://developer.wordpress.org/reference/hooks/esc_html/)–
   this cleans up entered text before rendering it out into HTML.
 *  Thread Starter [sunima](https://wordpress.org/support/users/sunima/)
 * (@sunima)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/#post-9748447)
 * There is no PHP at work when you switch from text mode to visual mode and back
   to text mode in WordPress editor. Or? Did you try it?

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

The topic ‘Stop converting from HTML character codes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [sunima](https://wordpress.org/support/users/sunima/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/stop-converting-from-html-character-codes/#post-9748447)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
