php file_get_contents().. doesn't handle special characters?

Posted by inktri on Stack Overflow See other posts from Stack Overflow or by inktri
Published on 2010-04-04T13:35:35Z Indexed on 2010/04/04 13:43 UTC
Read the original article Hit count: 291

Filed under:
|

I've got an HTML file with special characters such as:

AT&T™ Official Site

When I use file_get_contents() on the file and echo the contents, I get something like this:

AT&T\u00e2\u0084\u00a2 Official Site

How can I convert the latter to the former?

© Stack Overflow or respective owner

Related posts about php

Related posts about file-get-contents