Issue #378 has been updated by Krzysztof Stryjek.

Hi,

I don't know exactly. Maybe my php.ini settings? Telling the truth I have 
default settings for mbstring module. 

Well I've checked php manual: http://www.php.net/utf8_decode As you can see 
utf8_decode decodes to ISO-8859-1. And polish special chars are not represented 
in ISO-8859-1. That could be a problem. It is working for you (french 
language), because fresh specials chars are included in ISO-8859-1 :)))

So my solution seems to be more universal (it will work also for languages like 
Japanese).

I hope I'm helpful to update SSP.

Greetings,
----------------------------------------
Bug #378: Wrong mb_encode_mimeheader in send_mail function - SSP
http://tools.lsc-project.org/issues/378

Author: Krzysztof Stryjek
Status: Assigned
Priority: Normal
Assigned to: Clément OUDOT
Category: Self Service Password
Target version: self-service-password-0.7


Hello,

I've just tested Self Service Password and during sending email I've received 
'?' characters in email subject. I've found some suggestions at php.net. So 
this should be:
lib/functions.inc.php: lines 365-370:

    /* Encode the subject */
    mb_internal_encoding("UTF-8");
    $subject = mb_encode_mimeheader($subject);

I hope this will be helpful for other users.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to