I’m pulling an XML feed that doesn’t specify the encoding. I can’t change this on the feed.
When I use htmlentities(), it gives me a proper output for certain characters on my WAMP server, but when I upload it to another server, it seems like the encoding is incorrect for certain characters, like open and close double quotes (not just ” but the one that looks like 66 and 99)
I’m pulling an XML feed that doesn’t specify the encoding. I can’t change this
Share
Someone else’s server may have different encoding. You can specify the encoding to be compatible with someone else’s server.
See the documentation