1
I run 2.3.2b and am developing my own module, which retrieves data from a custom mySQL database (set up manually) on the same server as Xoops. However, I have a problem displaying Swedish special characters (åäö) retrieved from the database. Both the database and the php page are in UTF-8 format, and if I just write the text manually in the php, the special characters look fine in the browser.
Any ideas on what might be causing this and what I can do to remedy it?
Of course, I could use the htmlentities function on all database strings when writing them, but that's rather tedious and not a very elegant solution. And of course, the data from the XOOPS database displays åäö just fine, so it must be possible somehow.