Subject: | Wide characters are quoted erroneously on PowerPC |
Since 1.22, tests fail on PPC and PPC64 platforms in t/yaml_utf.t test
because the wide charters are quotes unnecessarily there:
$ uname -m
x86_64
$ perl -MYAML::Syck -e 'use utf8; local $YAML::Syck::ImplicitUnicode =
1; print Dump(q{♥}), qq{\n}'
Wide character in print at -e line 1.
--- ♥
$ uname -m
ppc64
$ perl -Iblib/lib -Iblib/arch -MYAML::Syck -e 'use utf8; local
$YAML::Syck::ImplicitUnicode = 1; print Dump(q{♥}), qq{\n}'
Wide character in print at -e line 1.
--- "♥"
Problem is causes by these two commits:
commit f63d57472f62e60b2cdf981f08be01850612311d
Author: Lubomir Rintel <lubo.rintel@gooddata.com>
Date: Fri Nov 9 18:02:22 2012 +0100
Fix non-printable character detection
commit 07a319d848fc17ddb6463d732ceed55c18b1b415
Author: Lubomir Rintel <lubo.rintel@gooddata.com>
Date: Fri Nov 9 18:09:05 2012 +0100
Quote if non-printable characters are present