BOM in metadata.json #5774
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2023-03-22 by @gfwilliams Ok, thanks. Yes, I think JSON is a bit strange about UTF8 - it might need the characters to be escaped. What do you mean by 'BOM' though? I know it as 'Bill of Materials' Posted at 2023-03-22 by gfric Byte Order Mask. A few bytes to tell the encoding of text files. Posted at 2023-03-22 by @gfwilliams Ahh, right - just looked it up. Yes, Espruino (and the app loader) doesn't support a byte order mask in JSON. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-03-22 by gfric
Hi,
I had a UTF-8 BOM in my metadata.json and got really weird messages about "invalid JSON". Just wanted to say, in case others might have the same issue one day.
Beta Was this translation helpful? Give feedback.
All reactions