We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Configuration

Getting these � symbols instead of euro symbol and speech marks etc.

Hi. I've had a few sites recently that once I've transferred from local to live server I get � symbols instead of things like euro signs speech marks etc.

I'm using utf8 in both databases, so I'm not sure what else would cause this? Re-typing the euro sign in perch fixes the problem.

Any suggestions?

Thanks Wayne

Wayne Hooper

Wayne Hooper 6 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you exporting and importing using UTF8?

Yes. I've just re-exported and imported to double-check. Both UTF8.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you have PERCH_DB_CHARSET set in your config file?

Are you serving your pages with a UTF8 header?

Adding the following to the config file has worked, thank you.

define('PERCH_DB_CHARSET', 'utf8');

That just helped me. Thanks.