Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Charset and special character handling


onedimentional

Recommended Posts

Posted

Originally I installed osCommerce to

myDomain/shop/catalog/first-level-files, for example index.php

 

Yesterday I moved all files two folder out, i.e.,

myDomain/first-level-files

 

However, now the Danish special characters are displayed with question mark on all pages.

I tried to change myDomain/includes/languages/danish.php

 

define('CHARSET', 'iso-8859-1');

to:

define('CHARSET', 'UTF-8');

 

But it doesn't work.

 

Now I don't know what to do.

Many thanks for help.

Posted

Jing,

 

Did you update the 2 configure.php files ?

 

 

Is the DOCTYPE set correctly on your pages ?

 

 

Chris

Posted

Hi Chris,

 

Thank you for spending time trying to help me. I tried what you told me, but they did't work for me.

 

I asked support team of my website hoster and the problem was solved by modifying default_charset defined in .htaccess (which is in the same folder as index.php) from "utf-8" to "iso-8859-1".

 

Best,

Jing.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...