Jump to content

Recommended Posts

Hi ,

I am using mail funtion to send mail to some people having japanese text as contents.

the data for the mail comes from database where the data is stored in UJIS.

while sending the mail i am setting the encoding as UJIS in mail headers.

but when the mail is sent using this data, the subject line of the mail gets ascii characters.

contents appear in correct japanese,just the problem is with subject

one more thing there is no problem with the data stored in database.

 

i goolged some what but no success.

is there any setting needs to be done for encoding of subject only.

 

your help would be appreciated.

Thanking in advance,

~Rohant

You might want to try this suggestion:

 

http://sg.php.net/manual/en/function.mail.php#27997

 

It refers to this function

 

http://sg.php.net/manual/en/function.mb-send-mail.php

 

And provides an alternative if the above is not available.  The mb_* functions were written to support japanese text, so you should find them useful.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.