Hi thanks for the reply. Here is the JSON response. The strange apostrophe is still there (but only from some Youtube channels, others are normal). It's literally what I get after just these two steps:
my $url = "https://www.googleapis.com/youtube/v3/..."; my $result = get($url);
JSON received: { "items": [ { "snippet": { "description": "#BellatorNYC is headed to Madison Square Garden for an epic night of fights! \n\nSubscribe for more Bellator MMA content! http://bit.ly/SubscribeBellatorYT \n\nFollow Bellator MMA\nFacebook: https://www.facebook.com/BellatorMMA\nTwitter: https://twitter.com/BellatorMMA\nInstagram: https://instagram.com/bellatormma/\nSnapchat: BellatorNation\n\nJoin #BellatorNation to gain exclusive access and benefits including fan-fests, ticket presales and much more! http://bellator.com/newsletter\n\nCheck out the Bellator MMA App: http://bellator.spike.com/app\niTunes: http://bit.ly/1tHUGym \nAndroid: http://bit.ly/1OaBqDX\n\nAbout Bellator MMA: \nBellator MMA is about the fighters and the fans. It’s the fighters who put it all on the line each day, leaving every ounce of themselves inside the cage. Our mission is to create, promote and produce the most exciting, competitive and entertaining Mixed Martial Arts competition in the world.\n\nBellator is available to nearly 500 million homes worldwide in over 140 countries. In the United States, Bellator can be seen on Spike, the MMA television leader. Based in Hollywood, California, Bellator is owned by entertainment giant Viacom, home to the world's premier entertainment brands that connect with audiences through compelling content across television, motion picture, online and mobile platforms. Website: http://bellator.spike.com/" } } ] }

You're right, the emoticon was some perl language I inserted somehow. The actual JSON for the emoticon is here:
 { "items": [ { "snippet": { "description": "Happy with everything at the moment 😊" } } ] }


In reply to Re^2: JSON character encoding by Bman70
in thread JSON character encoding by Bman70

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.