Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5935121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:12:33+00:00 2026-05-22T15:12:33+00:00

In the osCommerce PHP sources in every script there is a line like this:

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T15:12:34+00:00Added an answer on May 22, 2026 at 3:12 pm

    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. Change english.php to the language file you need. Look for:

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an oscommerce site I have the following: Server response = Content-type: text/html;charset=UTF-8 and
I was asked to implement a random product listing for an osCommerce on-line store.
What's a good Shopping Cart possibly free I know there oscommerce, xcart etc but
I am using PHP 4+ and I am working in a project of osCommerce,
Is it bad practice to hack the main application_top.php file of osCommerce for making
In a production server there are index.html and index.php By default index.html is getting
I'm modifying a website made with osCommerce (I didn't make this website), and one
Is there a way to add a tool to osCommerce without having to edit
We are creating a php script project; which we will be selling to customers.
I'm getting this error after inserting manually a module for oscommerce. I know it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.