title: htmlentities 'Invalid Multibyte Sequence' error
body: <p>While trying to run a string through PHP's htmlentities function, I have some cases where I get a 'Invalid Multibyte Sequence' error. Is there a way to clean the string prior to calling the function to prevent this error from occuring?</p>