Ш run import plugin and get the posts from WP, the encoding is all
broken. Wordpress uses UTF8, all data is stored in utf8 (MySQL 4.1),
but when I import posts with plugin, it cranks the whole thing up with
question marks.
http://sandbox.makesense.ru/habari/ -- result.
** Check your tables, may be tables in your database has wrong
collation.
This article can be helpful: http://www.slaff.net/2006/06/29/kak-vyilechit-utf.html
** Try to put correct <meta> tag (you don't have defined charset).
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Is this something that needs to be part of the install, or is it
something that users should do when creating their databases?
Meaning, if you create your database in a non-UTF-8 character set,
then should you expect not to have UTF-8 compatibility? Or do you
need to set the character set regardless of the character set you've
used to create your database?
Owen
Cheers,
tinyau
Blog: http://blog.tinyau.net
I belive direct mysqldump and further ingest might help, but, I
specifically deployed MySQL with default utf8 encoding and collation
for this same purpose :-) So, I was expecting export/import from/into
to be run rather smoothly :-))
I'll try looking through Habari code -- its seems as if it's setting
NAMES directly somewhere in the code. Is it not?