Charset can be wrong in following places:
1. databse, columns are created with wrong charset, and date with another are inserted
2. connection string, while connecting it is possible to instruct connection management to connect with specific chrset maybe is wrong one
3. HTML side, html side is instructed to wait for and to send back specific charset.
So simply all of these three points have to checked.