You are here: Russian characters in mail() « PHP Programming Language « IT news, forums, messages
Russian characters in mail()

Posted by Victor on 10/31/06 17:03

Hi everybody,

could anybody kindly give me a hint for dealing with the following
problem :

I need to send e-mails from a PHP 5 script running on Windows Apache,
containing Russian characters in the subject and in the content. I use
the function mail($to,$subject,$content,$header). The header looks like
this now : "From: xyz@abcdef.com\r\nX-Mailer:
PHP/".phpversion()."\r\nContent-Type: text/plain; charset='utf-8'"

Regrettably, the result is not much encouraging : I receive only
unreproducable characters on the other (receiver) side...

How to tackle this?

Thanks in advance

Victor

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация