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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -