I'm trying to load a json file dynamically. It's 2MB zipped. When I look at it through most browsers (including IE) at radioladio.com/data/1.json, the json file is automatically unzipped and displayed as the expected text. However, when I try to load it and read it dynamically (radioladio.com/radioplayer) in IE, it says there is an invalid character. I have a feeling this may be something to do with encoding but I'm not too knowledgeable about this sort of thing. It seems IE may think that it is HTML not json?
问问题
297 次