Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mail Problems with Greek language v2.2


Bilvass

Recommended Posts

Posted

Greek v2.2

 

For Setup

Admin -->Mail options --> Send E-mails=true

 

The Result

ΞΞΞ£ΞΞΞΞ£ ΞΞΞ£ΞΞΞΞ ΞΞ¥ΞΞΞ£

 

Ξ ΟΞΏΟΟΞ½ΟΞ±

------------------------------------------------------

1 x Hewlett Packard LaserJet 1100Xi (HPLJ1100XI) = 551.79EUR

------------------------------------------------------

ΞΟΟ-ΟΟνολο: 551.79EUR

Ξ£ΟΞ±ΞΈΞ΅ΟΟ ΞΞ­Ξ»ΞΏΟ ΞΟΞΏΟΟΞΏΞ»ΞΟ (Ξ ΟΞΏΟΡινΟΞΌΞ΅Ξ½ΞΏΟ ΟΟΟΟΞΏΟ): 5.52EUR Ξ¦.Ξ .Ξ. 19%: 104.84EUR

Ξ£Ονολο: 662.15EUR

Posted

Γεια σου Bill

 

You need to turn all language files of the greek package to be in utf 8

1) At the beginning of greek.php you need to have this

// charset for web pages and emails
define('CHARSET', 'utf-8');

2) You need to have all language.php files of the Greek package encoded in utf-8

 

Set your mail to autodedect the encoding

Posted

Hi Multimixer,

 

I am actually having the same problem, but for Japanese language.

 

I do have the define('CHARSET') set to the japanese encoding.

What is strange is that, all things were working ok, until i enhanced the checkout_process.php just to add more text to the email. Now the email sent shows with characters that are not understandable.

 

Do you have any other tips?

 

Thanks in advance!!!

Posted

Hi Multimixer,

 

I am actually having the same problem, but for Japanese language.

 

I do have the define('CHARSET') set to the japanese encoding.

What is strange is that, all things were working ok, until i enhanced the checkout_process.php just to add more text to the email. Now the email sent shows with characters that are not understandable.

 

Do you have any other tips?

 

Thanks in advance!!!

Is the language file checkout_process.php itself encoded in utf-8, or whatever the japanese encoding is?

Posted

Hi!

 

I already had this to admin/includes/languages/greek and includes/languages/greek:

 

// charset for web pages and emails

define('CHARSET', 'utf8');

 

adding this:

 

// charset for web pages and emails

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

 

causes this:

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\xxx.gr\httpdocs\catalog\includes\languages\Greek.php:1) in C:\Inetpub\vhosts\xxx.gr\httpdocs\catalog\includes\functions\general.php on line 33

 

The only thing i did again and again is to use backspace or delete

 

if i change the same file in thew original format i get the same error.

 

The only thing seems to work is to paste the 2 greek.php files to their folders from their original folder, after this i have no errors.

 

Any sagestions?

Posted

I'm not having both.

 

the original code Greek v2.2 that i've download from oscommerce.com already had this:

 

// charset for web pages and emails

define('CHARSET', 'utf8');

 

if i add the - between the utf and 8 and upload

 

i get this:

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\xxx.gr\httpdocs\catalog\includes\languages\Greek.php:1) in C:\Inetpub\vhosts\xxx.gr\httpdocs\catalog\includes\functions\general.php on line 33

 

if i remove the - from the code and upload the same file i get the same warning

 

if i copy/paste the files Greek.php from their original folder to my catalog/admin/includes/languages and catalog/includes/languages

 

all seems to be alright bat the issue with the mail still remains.

 

Any sagestions?

 

PS.

I'd like to thank you for your time!

Archived

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

×
×
  • Create New...