• Resolved redbrit

    (@redbrit)


    Hi,

    I get this error when posting to Apple News through your plugin “The following JSON errors were detected: Invalid unicode character sequences were found that could cause display issues on Apple News: a??”

    It’s basically substituting punctuation marks for a

    Any help would be greatly appreciated. This error happened months and it’s still here now that I’m trying your plugin again. I see some other people have the same issue so any guidance would be great.

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @redbrit

    Can you send the raw post content via a Pastebin or GitHub Gist or similar?

    Thanks.

    • This reply was modified 8 years, 2 months ago by Kevin Fodness.
    Thread Starter redbrit

    (@redbrit)

    Is this what you need mate?

    {"version":"1.1","identifier":"post-6312","language":"en","title":"Telltale's Guardians of the Galaxy plot details leaked","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"header","layout":"headerPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/l.jpg"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"title","text":"Telltale's Guardians of the Galaxy plot details leaked","textStyle":"default-title","layout":"title-layout"},{"role":"byline","text":"by Jordi Steel | Jan 12, 2017 | 8:39 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"<p>New details concerning the plot for the new Guardians of the Galaxy game by detail have been revealed (maybe accidentally) by GameSpot.\u00c2\u00a0 On the pre-order page for the game it has the following summary:<\/p>","format":"html","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"<p><em>\u201cMarvel\u2019s Guardians of the Galaxy: The Telltale Series delivers a brand new story of the universe\u2019s unlikeliest heroes, the rag-tag band of outlaws who go by the names Star-Lord, Gamora, Drax, Rocket, and Groot. In the wake of an epic battle, the Guardians discover an artifact of unspeakable power. Each of the Guardians has a reason to desire this relic, as does a ruthless enemy who is the last of her kind, and who will stop at nothing to tear it from their hands.\u00c2\u00a0<\/em><\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p><em>\u201cFrom Earth to the Milano to Knowhere and beyond, and set to the beat of awesome music, this five-part episodic series puts you in the rocket-powered boots of Star-Lord in an original Guardians adventure, told in the unique and award-winning Telltale style, where your decisions and actions will drive the path of the story you experience.\u201d\u00c2\u00a0<\/em><\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>\u00a0<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>So it looks like this will be a completely original story for the GOTG, and reveals you will be taking control of the decisions of Peter Quill, the leader of the rag tag group of outlaw heroes (and not a mix of the Guardians as this writer had expected), and they will facing up against a mysterious villainess who is the last of her kind, and there could be some love loss with the group itself.\u00c2\u00a0 It is still to be seen whether or not this version of the Guardians will be for the Marvel Cinematic Universe, or one more likened to the Comic Book version, or even a cool mixture of both. \u00c2\u00a0It looks like it will be taking the soundtrack concept from the films.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>All we now need is a trailer.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>\u00a0<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>I am very excited for this game, I love all of Telltale\u00e2\u0080\u0099s products, especially Tales from the Borderlands which I am expecting this to be comparable to, in a good way ( a good sci-fi comedy with great original whacky characters).<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>What do you think?\u00c2\u00a0 Are you excited for this, could you not be less bothered, or do you have to wait for the trailer to come out before making any judgements?\u00c2\u00a0 Please comment down below or tweet me at @ReelJordiSteel to give me your opinion.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"AvenirNext-Bold","textColor":"#4f4f4f"}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#333333","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":13,"lineHeight":24,"tracking":0,"textColor":"#7c7c7c"}},"textStyles":{"default-tag-code":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"},"default-tag-pre":{"textAlignment":"left","fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f","paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-tag-samp":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"}},"componentLayouts":{"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"headerPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"headerBelowTextPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"margin":{"top":30,"bottom":0}},"title-layout":{"margin":{"top":30,"bottom":0}},"byline-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":10,"bottom":10}}},"metadata":{"excerpt":"New details concerning the plot for the new Guardians of the Galaxy game by detail have been revealed (maybe accidentally) by GameSpot.\u00a0 On the pre-order page for the game it has the following summary: \"Marvel's Guardians of the Galaxy: The Telltale Series delivers a brand new story of the universe's unlikeliest heroes, the rag-tag band...","thumbnailURL":"bundle:\/\/l.jpg","dateCreated":"2017-01-12T13:39:23+00:00","dateModified":"2017-01-17T10:34:56+00:00","datePublished":"2017-01-12T13:39:23+00:00","canonicalURL":"http:\/\/gamerlaughs.com\/gl-archive\/12\/01\/2017\/telltales-guardians-galaxy-plot-details-leaked\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.2.1"},"advertisingSettings":{"frequency":1,"layout":{"margin":{"top":15,"bottom":15}}}}

    • This reply was modified 8 years, 2 months ago by redbrit.
    Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @redbrit

    Actually, I was hoping for the content from the Text tab in the WordPress post editor, rather than the JSON that is exported from the plugin. I’d prefer to receive it via a Pastebin or GitHub Gist link because those platforms will preserve the raw text better than a <code> block will on this platform. If I have the raw content, I can do a test export in my environment and see if there is an issue with the plugin.

    Thanks.

    Thread Starter redbrit

    (@redbrit)

    Hi Kevin,

    Never used either before so please forgive me if this is wrong.

    Here is a link for Pastebin:

    https://pastebin.com/raw/qkYnkPKs

    Let me know if I’m being an idiot and you need something else.

    Thanks

    [ No bumping please. ]

    I’m also seeing it with the error stating:
    The following JSON errors were detected: Invalid unicode character sequences were found that could cause display issues on Apple News: , , ,

    checked text and I’m not seeing this combo or any strange unicode (or any at all) coded characters.

    perhaps a parse error when genning the JSON txt.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    It will be easiest for us to help you if you can provide the JSON file for this post as well as the HTML from the Text tab in the WordPress editor via https://pastebin.com/.

    Thanks.

    Hi,

    OK the JSON file is at: https://pastebin.com/r9tfDecn
    And the HTML (txt) of the post: https://pastebin.com/vwzv50gv

    Hope that helps some..

    Plugin Author Kevin Fodness

    (@kevinfodness)

    Thanks, @ppnsteve. This is actually incredibly helpful. Using the Pastebin you provided, I was able to reproduce the issue, identify the problem, and issue a fix. In your particular case, the problem had to do with a mishandling of non-breaking spaces in sequence, which we are now properly addressing. The fix will ship with version 1.2.3, which will be released in the next few days.

    Thanks again for the issue report and sending us the test data.

    Glad to help.. looking forward to the update.

    Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @ppnsteve

    The new version is out now. Can you try with version 1.2.3 and let us know if you are still experiencing problems?

    If so, can you please send over the raw post content from the Text tab in a pastebin.com link?

    went back and edited that same post, no JSON / unicode errors this time..

    hopefully you caught them all now..

    Thanks ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘The following JSON errors were detected: Invalid unicode character’ is closed to new replies.