Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: open

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:
[dev.mysql.com...]

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:

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

Table:
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

My Threads

Hot Threads This Week

Hot Threads This Month

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved