PHP: Dealing special characters with iconv PHP: Dealing special characters with iconv php php

PHP: Dealing special characters with iconv


$clean = iconv('UTF-8', 'ASCII//TRANSLIT', utf8_encode($s));


And did you save your source file in UTF-8 encoding? If not (and I guess you didn't since that will produce the "incomplete multibyte character" error), then try that first.