Forum » » Pour débuter » » [Résolu] - Accents
Posté : 8 avr. 2012 à 08:28
function translate($phrase) {
$tmp=translate_pass1($phrase);
!include!("language/lang-mods.php");
//die (cur_charset); //debug
if (cur_charset=="utf-8") {
$tmp = utf8_encode($tmp); //debug
}
return ($tmp);
}
Message édité par : PhilGuen / 08-04-2012 08:48
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=25335&forum=10