consider this simple code:
echo iconv('UTF-8', 'ASCII//TRANSLIT', 'è');
it prints
`e
instead of just
e
do you know what I am doing wrong?
nothing changed after adding setlocale
setlocale(LC_COLLATE, 'en_US.utf8');
echo iconv('UTF-8', 'ASCII//TRANSLIT', 'è');
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…