F
Frantisek Fuka
Hello,
I am using YAML to store around 100KB of strings (just simple arrays
and hashes) and I found out the "unpacking" of YAML data stops after
4096 (or so) characters of yaml file (without raising any errors) - the
parsed data just ends in the middle of the string. And it has nothing
to do with disk operations, it happens even when I read the whole yaml
file into string and then use "YAML.parse(longstring)" call. Maybe it
has something to do with the fact that my strings contains many
non-Ascii characters?
Here is the file (zipped) that gives me this problem:
http://fuxoft.cz/test.yaml.zip
I am using the latest Ruby included in Dapper Drake Linux distro and
YAML::Slyck version is "0.60".
I am using YAML to store around 100KB of strings (just simple arrays
and hashes) and I found out the "unpacking" of YAML data stops after
4096 (or so) characters of yaml file (without raising any errors) - the
parsed data just ends in the middle of the string. And it has nothing
to do with disk operations, it happens even when I read the whole yaml
file into string and then use "YAML.parse(longstring)" call. Maybe it
has something to do with the fact that my strings contains many
non-Ascii characters?
Here is the file (zipped) that gives me this problem:
http://fuxoft.cz/test.yaml.zip
I am using the latest Ruby included in Dapper Drake Linux distro and
YAML::Slyck version is "0.60".