Posted By

GuillaumeP on 10/07/10


Tagged

php accents iconv


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jplr


Remove accents from a string


 / Published in: PHP
 

  1. <?php
  2. setlocale(LC_ALL, 'fr_CA.utf8');
  3. echo iconv('UTF-8', 'ASCII//TRANSLIT', 'èàềéầïæÆêç');
  4. // eaeeaiaeAEec

Report this snippet  

You need to login to post a comment.