$edit = str_replace(['–', '–', '–', "\xE2\x80\x93"], '-', $edit);$edit = str_replace(['–', '–', '–', "\xE2\x80\x93"], '-', $edit);Code : Tout sélectionner
header('Content-type: text/html; charset=UTF-8');
header('Content-type: text/plain; charset=ISO-8859-1');
??? ou à la limite utf8_encode() si l'affichage doit rester en UTF-8 ? à vérifier.SELECT table1.id FROM table1 LEFT JOIN table2 ON table1.id = table2.idtable1 WHERE ISNULL(table2.id)$hexa = '01';
echo sprintf('%08b', hexdec($hexa)); // 00000001