I can't save some special letters like german umlaut (ü) or croatian letters (ž,š,č) to the MySQL database.
This is what I have done so far:
- Database collation is set to utf8_general_ci
- Table collation is set to utf8_general_ci
- Row collation is set to utf8_general_ci
In html meta tag is set to:
<meta http-equiv='content-type'content='text/plain;charset=utf8_general_ci'>
In html form I've set the attribute
accept-charset="utf8_general_ci"
in PHP I've set headers:
header('Content-Type: text/plain; charset=utf8_general_ci');
in PHP I've set
mysql_set_charset ( "utf8_general_ci", $link );
I've been trying to solve this for days.. I also tried with utf8_unicode_ci
.
What am I missing?