mirror of
https://github.com/biojppm/rapidyaml.git
synced 2026-01-18 21:41:18 +01:00
re #476: handle byte order marks
This commit is contained in:
@@ -761,6 +761,11 @@ following situations:
|
||||
reflects the usual practice of having at most 1 or 2 tag directives;
|
||||
also, be aware that this feature is under consideration for removal
|
||||
in YAML 1.3.
|
||||
* Byte Order Marks: while ryml correctly handles BOMs at the beginning
|
||||
of the stream or documents (as per the standard), BOMs inside
|
||||
scalars are ignored. The [standard mandates that they should be
|
||||
quoted](https://yaml.org/spec/1.2.2/#52-character-encodings) when
|
||||
emitted, this is not done.
|
||||
* ryml tends to be on the permissive side in several cases where the
|
||||
YAML standard dictates that there should be an error; in many of these
|
||||
cases, ryml will tolerate the input. This may be good or bad, but in
|
||||
|
||||
Reference in New Issue
Block a user