Jump to content

[SOLVED] Stupid "smart" quotes rendered as ?


Recommended Posts

I've recently moved a friend's site from a shared server at pair Networks to a VPS I manage. With the exact same code, certain entities, such as MS Word "smart" quotes render correctly on the pair server, but appear as ? on my server.

 

Example:

pair: Salai Tun Than’s passport cancelled

mine: Salai Tun Than�s passport cancelled

 

In both cases PHP is running as an Apache module, versions are nearly the same (5.2.4 @ pair, 5.2.5 @ mine), and I've enabled the same extensions as pair on my PHP build. I know how to fix this problem by changing the PHP code of the site, but that is not an option (not my site).

 

When I view the example above in phpMyAdmin (2.11.2) on my server everything looks fine. Anyone have any idea how I can make these characters render correctly on the site by modifying the PHP, Apache, or MySQL configuration?

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.