Reply to Re: Chinese, Japanese font issues with mail

Your name:

Reply:


Posted by Simon Stienen on 04/03/07 01:50

On 2007-04-02 15-07-59, Darko wrote:
> Why don't you make html-files for each language you need.

E-Mails are not destined to carry the troublemindedness of HTML. They're
pure and clean. Just like the holy word of text/plain... Err... mhh... I
guess I played too much C&C3 and got brainwashed by Kane... -g-

Just use text/plain and set a proper encoding. UIF-8 would solve your
problems, as you can address every code point the unicode currently
contains. (For more information see <http://www.unicode.org/>)

This includes the kanji and the kana.

You should use a special editor for writing the messages though. Is should
a) support UTF-8 and
b) not add the byte order mark in front of the files, as PHP doesn't
understand it and sends it as data... resulting in output and eventually in
"Cannot send header ..." warnings.

UTF-8 would also solve your problem, if you are actually sending HTML
mails. However, you should still strongly consider adding a text/plain
version, too. I know that *I* dislike HTML mails and I know lots of people
who do so as well.

HTH

[Back to original 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

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