yii - translation issue in php -


i have done needed translation. issue word not getting translated properly,

l’équipe 

is not getting translated properly, instead of getting l?équipe question mark dont understand how.

this how code written.

$body = mb_convert_encoding(yii::t('site', tk::getstringbetween($data->body, "{body}", "{/body}")), 'iso-8859-15', 'utf-8'); // avoid é becomes é 

it looks 'qelasy' dictionary stored in proper utf-8 encoding.

try not convert encoding.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -