I'm currently making a quiz-game with Construct 2 (HTML5), but I'm getting a problem with encoding when using interpunct (·), also known as middle dot. I'm currently generating an XML document with PHP. Encoding set to UTF-8.
- All my documents is saved as UTF-8.
- I have set MySQL tables to utf8mb4.
- All HTML has meta charset set to UTF-8.
- XML has encoding UTF-8.
If I set $conn->set_charset("utf8");
in the PHP document, it seems to be OK, but middle dot is returned as ·
in my game, but normal if I view the XML in browser.
If I don't set MySQL charset, it works in game, but I can't view it in the browser, but gets an encoding error on the middle dot line.