Unicode in PHP

Monday, Mar 10, 2008

Pretty shoddy, but this might work:

$value = preg_replace('/\x{FEFF}/', '', $value);