Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
german Umlaute and encoding
Hello Vanilla-Community,
I have a problem with german umlaute in my board. Some posting are unreadable, because the false encoding is used (I thnk). A good example for this problem can you see under the following URL:
http://inkscape-forum.de/comments.php?DiscussionID=3&page=1#Item_0
As you can see, in the second posting the Umlaute (ä, ö, ü) are unreadable. In the third posting and the following posts there is no problem.
Any Ideas how I can fix this?
tia and greetz, defel
0
This discussion has been closed.
Comments
I've run earlier versions of vanilla standard setup up and latin1-encoding and it showed swedish chatracters ok (åäöÅÄÖ). In the database they were saved as:
å - Ã¥
ä - ä
ö - ö
When I copy the database to testrun a Vanilla 1-installation the characters are all messed up and shows like this in vanilla:
"istället för PM så finns här"
I've tried changing headers.php to Windows-1251 but then I get "?" instead of åäö. I've tried changing chatracter-set on the tables in mysql (utf-8, ascii and so on) but nothing helps. I could replace all ö, ä and Ã¥'s for åäö's but it's kinda tricky and I'm pretty sure there must be an easier way... or perhaps not
Any thoughts?
At first sight it looks like you have utf-8 chars stored in a base declared as latin-1.
To migrate the base to utf-8 contents, you need to convert the column data to binary, then change the encoding of the base and then convert the column data to CHAR/TEXT. Then the chars should display correctly in the base and in vanilla. See also the remark made by "130" in a previous post about cyrillic.
The conversion process is described in th MySQL manual in a chapter about the migration from 4.0 to 4.1
Edit: the post is in VanillaDev :
http://lussumo.com/vanilladev/discussion/126/mysql-utf8-and-cyrillic-characters-i-sh-displays-like-/