HomeUncategorizedHow to remove non utf-8 characters from string in php How to remove non utf-8 characters from string in php mrabd423 October 9, 2021 Uncategorized No Comments preg_replace('/[^(\x20-\x7F)]*/','', $string); Tweet Pin It About The Author mrabd423