php-i18n Digest 20 Sep 2003 07:10:49 -0000 Issue 194
Topics (messages 614 through 615):
Re: Sending E-mail with Internation Characters
614 by: Moriyoshi Koizumi
I18N UTF-8 and iso
615 by: kiran kumar
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
"Muhammed Mamedov" <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> I need to send e-mail from PHP, I send them using mail(...);, which can be
> written in several languages. In Greek or Turkish for example...
>
> How do I manage to do this? ... I tried sending them using Unicode format,
> but in Outlook characters were not displayed correctly.
Most likely you haven't put correct headers such as Content-Type.
ex. Content-Type: text/plain; charset=UTF-8
When you send emails that is written in other charsets than
ASCII, the header should be specified at the third parameter of mail().
Moriyoshi
--- End Message ---
--- Begin Message ---
Hi All,
We are working on a site that stores words in different languages
(english,german,spanish,french) .when storing the data it has not been stored in one
format (either iso8859-1 or UTF-8) .now we are having problems when displaying ,what
i do is convert the words to utf-8 and then display ..but some words are not getting
displayed , if i reverse the process and change all the words to iso-8859-1 then some
other words are not displayed properly . Can someone please help me out on this
<code>
// i even tried this header <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<?
echo header("Content-type: text/html; charset=UTF-8");
$str="Allpaà ";
print " before str is $str <br>";
echo " after ";
echo utf8_encode("str='$str'");
?>
</code>
Regards,
Kiran
___________________________________________________
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp
--- End Message ---