views:

134

answers:

1

Dear all I using the price in Euro in javascript.

var currency = '\u20AC';
Total Sum = Sum in Euro

When I try to use in PHP mail. The Euro Symbol is appears differently. I used following command:

$mail_body_reply=Sum from Javascript  
mail($email, $subject_reply, $mail_body_reply, $header_reply);

Any idea to act same in PHP and Javascript

+2  A: 

You have to add encoding to the mail header, like describe in this comment: http://www.php.net/manual/en/book.mail.php#86537

The right encoding is probably iso 8859-15.

Jens-Martin
Adding *which* encoding should be added would be helpful. :)
Tomalak