Thursday, December 27, 2018

php - Webpage encoding utf-8

I am having massive problems and very confused of what to do?



My Mysql database Collation: latin1_swedish_ci




My header: meta http-equiv="Content-Type" content="text/html; charset=UTF-8"



Before something goes into the database I do a: html_entity_decode($input, ENT_QUOTES);



If I enter charachters 'åäö' into the database and then display them, they show åäö



What can I do to take care of this? I don't understand. Thank you very much.

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...