ZenphotoCMS Forum
Json without BOM - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Json without BOM (/thread-12452.html)



Json without BOM - yorium - 18-02-2016

Hi, i recently want to have a json output for my website so i use this extension :

https://github.com/deanmoses/tacocat-gallery-zenphoto-rest-api

But when i make a request (with js) the json output is UTF-8 with BOM. The problem is when i want to parse it i have a error : Unexpected token ?

So how can I remove BOM ?




Json without BOM - acrylian - 18-02-2016

I recommend to open a ticket on the plugin's repo. Until now I didn't even know this existed.