Subject: | Does not handle BOM's correctly |
---
score: ...
should (and does) parse to
'score' => ...
but if there is a BOM like this pseudo example that highlights the BOM:
<feff>---
score: ...
It parses to
'--- score' => ...
which is probably really like this pseudo example that highlights the BOM:
'<feff>--- score' => ...
It should take the BOM into account when looking for a line that starts
with '---' (it takes newline into account by removing them ...)
It should also, if it does not already, use the BOM as a hint of what
the data is encoded as but that is for another rt I think ;p