Hello. I'm sorry but none of the solutions work.
There seems to be a problem of coding html or utf 8 to this function. The $ symbol, it works perfectly. £, ¥, €, no.
I did a test trying also enter the € symbol in one of the free text fields, but neither works. Only two square ...
In case this information is important, around line 373 there is any similar code to that you inform me. There's this:
$db->setQuery($sql);
$profile['lang_email_body'] = $db->loadResult();
$sql = 'SELECT text
FROM #__awocoupon_lang_text
WHERE elem_id='.$profile['voucher_text_lang_id'].' AND lang IN ("'.$lang_text.'")
ORDER BY FIELD(lang,"'.$lang_text.'")
LIMIT 1';
The closest thing to your information is this, and this in line 743, where I tried your solution:
if(self::writeToImage_helper($im,$code,$profile['coupon_code_config'])===false) return false;
if(self::writeToImage_helper($im,$value,$profile['coupon_value_config'])===false) return false;
if(!empty($expiration) && !empty($profile['expiration_config'])) {
$str = date($profile['expiration_config']['text'],$expiration);
if(self::writeToImage_helper($im,$str,$profile['expiration_config'])===false) return false;
}
Other information that may be important: In the text of email, the € symbol if it appears perfectly. The error is in the image of the GIFT that is sent in the email.
We need a solution for this problem. If you need to access the administrator or ftp, I have no objection to provide it.
thanks