Problem with UTF8. italian/russian characters

The content you get is not utf-8 encoded or the encoding is damaged by the importer. Usually SimplePie – the feed reader WordPress uses – is quite good at handling such cases. I wonder what an importer you use … Anyway, I’ve written a function to enforce utf-8 output. You should implement this very early … Read more

Outputting HTML elements through WP-API

I realised my mistake. The following line in my functions.php: ~remove_filter(‘the_content’, ‘wpautop’); This was in the WordPress underscore empty template which I started the project with, and was removing html from the content.

Question mark on special chars

WordPress sends all HTML content encoded as UTF-8. If you save a file in a single-byte encoding, like Windows-1252¹, you create invalid characters for UTF-8. These are displayed with a replacement character, usually (but not necessary) as a question mark in a black diamond. Always use UTF-8 for everything. Do not use a BOM (byte … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)