I\'m facing a charset problem here. I\'m developing an app that uses a sql server database. The database was not created for this app, it exists before it and works very wel
Generally sticking to UTF-8 keeps life simple.
Be super careful copying and pasting from anywhere else into your code - basically always go through Notepad++ and use its convert to UTF-8 (without BOM) before copying and pasting into your code.
First question - how is the data getting into your database?
Mega Top Tip If you're using a form, make sure you've set the accepted charset attribute on the form element:
Then make sure all your views (including error pages), have
Or the following if you're doing HTML4