Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.

You are not logged in.

#1 2011-05-15 16:10

bremaxi
Member

Emails letters characters coding problems

Hi everybody,

i am using right to left lanaguage in my store ,and i have problems with store emails (registering, remind pass, shopping) to customers , its sent well , but the customer found it inside inbox of hotmail with misunderstand characters like this :ÃÖæÇÁ æÇáæÇä     :ßáãÉ ÇáÓÑ , but after click on it its shown clear and readable characters to customers like this : متجر التسوق . 
i am using windows-1256 as character coding in the lanaguages/arabic.php and i haven`t problems in characters inside store pages, the problem is only with emails letters. and i think i shuold make some changes in core_functions/registering.php but i don`t know how/where?
So, guide me pls.

Thank you

Offline

 

#2 2011-05-16 01:21

rat
Administrator

Re: Emails letters characters coding problems

Try to re-save email template files in your encoding: templates/email/.


Be careful what you wish for — you might get it.

Offline

 

#3 2011-05-16 15:52

bremaxi
Member

Re: Emails letters characters coding problems

Hi Rat,
I tryed to resave but the problem is still , the sender and subject in the main inbox page is shown like this :ÃÖæÇÁ æÇáæÇä     :ßáãÉ ÇáÓÑ  but when i open it its shown all clearly and readable . 
Do you think if I add some codes to core_functions files may the problem is solve ?  for example here :
--------------------------------------------------------------------------------------------------------------------------------
$password = cryptPasswordDeCrypt( $row["cust_password"], null );
        $smarty_mail->assign( "user_pass", $password );
        $smarty_mail->assign( "user_login", $row['Login'] );
        $html = $smarty_mail->fetch("remind_password.txt");
      mail($row["Email"], EMAIL_FORGOT_PASSWORD_SUBJECT,
                $html,
                "From: \"".CONF_SHOP_NAME."\"<".CONF_GENERAL_EMAIL.">\r\n".
                    stripslashes(EMAIL_MESSAGE_PARAMETERS)."\r\nReturn-path: <".
                        CONF_GENERAL_EMAIL.">");
        return true;
-------------------------------------------------------------------------------------------------------------------------------------

Offline

 

#4 2011-05-17 02:03

rat
Administrator

Re: Emails letters characters coding problems

This info might help you: http://php.net/manual/en/function.mb-send-mail.php


Be careful what you wish for — you might get it.

Offline

 

Board footer

Powered by PunBB