I use Wordpress on a large site that has multiple authors. Some authors are copying their articles from Microsoft Word in Wordpress. The character encoding is different. How can I make it write to the database in UTF-8 instead of Windows Western European?
WP is set up for UTF-8 in the wp-config.php file, but it does not convert the encoding when something is pasted into it.
I have written a REST service to pull the info I need. When it pulls the content from the database, it returns an XML error for encoding. WP is pulling from the same database, but somehow converts it to UTF-8 before it prints to the WP feed. Does anyone know what WP is doing so that I can do the same in my web service?