浏览器中呈现奇怪的字符
嘿呀, 我正在使用 google api 访问日历数据,当我访问该网站 (djkstyles.com) 时,我看到以下内容: http://cl.ly/2y2m3o3D0f0j1z0D0N03
但是在一些机器上,这是所看到的: http://cl.ly/292g2j3s341O2n3E020Y
这真的很奇怪。来自Google的数据是一致的;有人知道这是怎么回事吗?
感谢您的任何帮助。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过进一步挖掘,您并不孤单:日历问题主题。
看来在 URL 末尾添加 &hl=en 应该可以解决此问题。像这样: 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
我尝试了这个,它修复了原始数据为我。
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.