Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in decoding BASE64


Nerys

Recommended Posts

Posted

Hi,

I have oscommerce 2.3.4 running with php 5.6.40, hosted on a linux server. Since beginning of September, I have the following problem: when a client insert non-ASCII characters (mainly Greek letters) in the name field of the contact or order form, I get a base64 encoded Header sent to my email address and an "Undelivered Mail Returned to Sender" in case of order. Since the content is fine, there must be a problem with the MIME header. With ASCII characters, everything's fine. Any ideas?

 

Posted

@NerysIt is an encoding problem. Languages like Greek require extra space to store the characters. You can try changing the CHARSET define in includes/languages/english.php, or whichever language file you use to the following but you will probably need to change the database to use UTF-8. Ask your host to do that if you don't know how.

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

 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

  • 8 months later...

Archived

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

×
×
  • Create New...