micdhack
March 2nd, 2010, 06:41 PM
Hello,
i am creating a website which is going to be multicultural. That means multiple language text to print and text being posted by the users.
In the html <head> i have <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> which works like a charm.
Also anything being posted and stored in the db is being stored correctly cause when i read it back through the mysqli in php is being printed as originally posted.
My mysql text and varchar tables have a latin1_swedish_ci charset.
I am not sure what kind of an effect does the mysql utf8 fields have for the text in the db but so far with the latin1_swedish_ci fields i was able to store Greek, Czech and Japanese letters without problem.
So my question would be, if anything is working correctly, should i change to utf8 or it doesnt really matter?
i am creating a website which is going to be multicultural. That means multiple language text to print and text being posted by the users.
In the html <head> i have <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> which works like a charm.
Also anything being posted and stored in the db is being stored correctly cause when i read it back through the mysqli in php is being printed as originally posted.
My mysql text and varchar tables have a latin1_swedish_ci charset.
I am not sure what kind of an effect does the mysql utf8 fields have for the text in the db but so far with the latin1_swedish_ci fields i was able to store Greek, Czech and Japanese letters without problem.
So my question would be, if anything is working correctly, should i change to utf8 or it doesnt really matter?