I already have done this:
mysql_set_charset("utf8",$link);
at the connection
mysql_query("SET NAMES 'UTF8'");
at the connection + on every table in database
changing from latin1 to utf8 collation + character for every table + columns
file have meta utf8 + header('Content-Type: text/html; charset=utf-8');
plus the files itself are formatted in utf-8( without bom)
where link is mysql_connect(), it shows the öäå characters fine when i take them out from database, but when i try to mysql_query UPDATE with stuff, that contains ÖÄÅ, it stores as Ã?¶à .. How can i fix this?
In the database the columns and so are, latin1_swedish_ci, as said it INSERT ÖÄÅs without problem, and echo it out too very well, but not when i try to UPDATE SET $user = 'ööö'
can you be more specific? I see no way to use this query on every table.
how do you check it?
This is your problem. You need to use a UTF-8 character set to store UTF-8 data.
What you are showing:
Ã?¶Ã
is most likely UTF-8 data (which can consist of multiple bytes) being stored in a latin1 table.