Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Nerys

Error in decoding BASE64

Recommended Posts

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?

 

Share this post


Link to post
Share on other sites

@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.

Get the latest versions of my addons

Recommended SEO Addons

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×