Pengkodean preg_replace

$html = preg_replace("/\s/u", "", $html);
Fantastic Ferret