utf8_encode has been deprecated so you're advised against using the suggested answer.
utf8_encode
More on the deprecation notice here:
utf8_encode usage