In the osCommerce PHP sources in every script there is a line like this:
<meta http-equiv="Content-Type"
content="text/html; charset=<?php echo CHARSET; ?>
The built-in variable “CHARSET” is very strange and I’ve never seen this in PHP programming before. I’ve tried extensive search for “CHARSET php apache encoding charset utf-8 osCommerce” with google, stackoverflow and of course in php.net but couldn’t find any results about this PHP variable.
I need further information because it types out unexpected/wrong content which doesn’t fit to file encoding, apache transmission encoding nor charset/locale on the system.
So I want to ask: Where does CHARSET get its content from? Do you know any documentation for it?
See: http://forums.oscommerce.com/topic/321294-where-to-define-charset/
Or read it here, as I’ve copied it from there… 😛
Its in
catalog/includes/languages/english.php. Changeenglish.phpto the language file you need. Look for: