Skip Menu |

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 59715
Status: rejected
Priority: 0/
Queue: YAML-Syck

Owner: Nobody in particular
Requestors: dmuey [...]

Bug Information
Severity: Wishlist
Broken in: 1.10
Fixed in: (no value)

Subject: Does not handle BOM's correctly
Download (untitled) / with headers
text/plain 575b
--- 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
Download (untitled) / with headers
text/plain 165b
You are correct. YAML doesn't parse BOM to my knowledge. It probably won't in the future. I would encourage copious use of UTF8 to mitigate this. Patches welcome.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to