Charsets can be set in the database, in the connection file, and in the HTML. All three need to be in sync in order for all characters to display properly.
It is possible your connection or page had a different charset causing this issue. I'd check the connection files to see if they have different charset settings.