Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# jimcool 1/1/2006 11:55 PM
Is it possible to store articles with national characters? I tried czech chars and they are replaced with ? and other characters. My database is MySQL 4.1 with utf8 charset and utf8_czech_general collation. I have looked into the database and the text is garbled in articles table.

Can you help?
# martijnb 1/2/2006 9:17 AM
I'll have a look at it. In the past, an issue has been reported about danish characters also. Can't say what causes it though, MySQL or Cuyahoga
# martijnb 1/2/2006 1:28 PM
Did some tests on my local MySQL 5.0 installation and nothing weird happened. I tried some czech, polish and russian and everything went the database fine.

Maybe MySQL 4.1 handles utf8 characters different than 5.0.

While googling I found one thing that might have some effect: you can add ';charset=utf8' to the connection string to force the character set that is being used by the MySQL connector.
# jimcool 1/3/2006 8:40 AM
Yes, that's the solution, thank you!
# martijnb 1/3/2006 9:54 AM
Glad it works :)