Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

question marks after moving servers



11:26 am on Dec 3, 2006 (gmt 0)

10+ Year Member

After my host moved my site to another server all special caracters in data from a MySql database are shown as "?" also in phpMyAdmin. The host recommends that I manually change every "?". Is there an easier solution?

[edited by: FromBelgium at 11:26 am (utc) on Dec. 3, 2006]


12:49 pm on Dec 3, 2006 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

there are very specific issues regarding character sets that changed somewhere around mysql 4.0 or 4.1, so you should refer to documentation for your version, but you could start by looking at this:

this describes how the character set can be set at the server level and overridden at runtime.
you will probably need help from your host to implement this fix.
there is an entirely different and probably more complicated set of issues if you exported and imported data when moving servers especially if it was also a version upgrade.
i'm ony peripherally aware if these issues so i will defer to those more recently bruised and blistered.


4:49 pm on Dec 3, 2006 (gmt 0)

10+ Year Member

This is additional information:

MySQL charset: UTF-8 Unicode (utf8) (cannot be change)
MySQL connection collation:utf8_bin (can be changed)

Collation: latin_swedish_ci (can be changed)

Does this looks normal? Should I change one of the settings?
If I change the collation does this change data stored in the database?


Featured Threads

Hot Threads This Week

Hot Threads This Month