I get text as user input and somewhere in the text there are no standard characters, like this.
The text is stored to a database. Everything is in UTF-8 and it works well, only it displays strange signs for the non standard characters.
How can I filter these characters in PHP?
Edit:
I discovered that the text with the wrong characters are "correctly" stored in the database. When the text will be shown on a static UTF-8 encoded HTML page, the broken characters will be shown. But when the text is loaded via AJAX, it crashes and the loading operation fails. So I think this is still an AJAX encoding problem.