Search code examples
htmlcharacter-encodingentities

Weird characters coming being rendered in browser


Heya, I'm using google api to access calendar data, and when I visit the site (djkstyles.com) I see the following: http://cl.ly/2y2m3o3D0f0j1z0D0N03

But one some machines, this is what's seen: http://cl.ly/292g2j3s341O2n3E020Y

It's really strange. The data coming through is consistent from Google; does anyone have any idas on what's up with this?

Thanks for any help.


Solution

  • Did a little bit more digging, and you're not alone: Calendar Issues Thread.

    It seems that adding &hl=en to the end of your URLs should fix this. Like so: http://www.google.com/calendar/feeds/kbfj3n6iuc3u822d5omj06vt38%40group.calendar.google.com/public/basic?max-results=5&orderby=starttime&sortorder=ascending&callback=embedEvents&alt=json-in-script&futureevents=true&hl=en

    I tried this and it fixed the raw data for me.