Unicode in PHP
Published: Monday, Mar 10, 2008 Last modified: Monday, Dec 9, 2024
Pretty shoddy, but this might work:
$value = preg_replace('/\x{FEFF}/', '', $value);
Pretty shoddy, but this might work:
$value = preg_replace('/\x{FEFF}/', '', $value);