Azure / iot-plugandplay-models-tools

Tools to manage the device-models repo
MIT License
13 stars 17 forks source link

Validate file encoding (UTF-8 without BOM) #121

Open rido-min opened 3 years ago

rido-min commented 3 years ago
rido-min commented 3 years ago
  Implementations MUST NOT add a byte order mark to the beginning of a
   JSON text.  In the interests of interoperability, implementations
   that parse JSON texts MAY ignore the presence of a byte order mark
   rather than treating it as an error.

from https://tools.ietf.org/html/rfc7159#section-8.1