Skip Menu |

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

Report information
The Basics
Id: 92727
Status: resolved
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.57
Fixed in: (no value)



Subject: Cannot read non-UTF8 files anymore
We were using YAML::Tiny for reading non-UTF-8 files. Now it's broken, previous documentation changed. Even there is no note in changelogs. Why?
On Tue Feb 04 10:34:41 2014, vsespb wrote: Show quoted text
> We were using YAML::Tiny for reading non-UTF-8 files. Now it's broken, > previous documentation changed. Even there is no note in changelogs. > Why?
The YAML specification requires a YAML stream to be UTF-8 (or UTF-16). (http://yaml.org/spec/1.1/#id868742) The changes in 1.57 brings YAML::Tiny into compliance with the spec. The lack of changelog entry was an oversight. You should still be able to load data from a file with your own decoding and pass the resulting character data to YAML::Tiny->read_string. An updated Changes entry has been committed and will be shipped soonish, so I'm closing this ticket.