Jump to content

thewhitewalter

New Members
  • Posts

    1
  • Joined

  • Last visited

thewhitewalter's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm using PHP to grab some JSON from this URL - goo.gl/xdIqEy I've tried using cURL and file_get_contents(), but the 'LastName' element always comes back looking like ─Éur─æi─ç If I view that URL in Chrome, it looks like ÄurÄ‘ić It should look like Đurđić It's obviously some kind of encoding issue, but how do I handle this? The HTTP response headers don't give any clues to the encoding type. I've tried a lot of different iconv combinations when I've got the string back in PHP - but no luck. If I go to that URL in IE, it let's me download the .json file to disk. When I open that in Sublime Text, it looks correct. Any advice?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.