[php] Remove non-utf8 characters from string