Nerys Posted November 17, 2022 Share Posted November 17, 2022 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? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 18, 2022 Share Posted November 18, 2022 @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'); Quote 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 Link to comment Share on other sites More sharing options...
Nerys Posted November 19, 2022 Author Share Posted November 19, 2022 Thank you, Jack, for your response! I will give it a try. Quote Link to comment Share on other sites More sharing options...
Nerys Posted July 21 Author Share Posted July 21 Zitat Yeah, but it did not work. In fact, nothing of what I tried worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.