utf 8 - Storing swedish characters in mysql database -


i'm having problems storing swedish characters in mysql database. want store them in table called users collation utf8-bin. though i'm using utf8, characters å ä ö gets stored Ã¥ ä ö , don't know why. retrieving data , echoing gives me same output, weird characters instead of å ä ö. appreciated.

call

mysql_set_charset("utf8"); 

after connecting , before making queries.

your database charset storage, not transmission between app , database.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -