[Koha-bugs] [Bug 22824] Replace YAML::Syck with YAML::XS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 15 15:02:01 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22824

--- Comment #45 from Julian Maurice <julian.maurice at biblibre.com> ---
Sorry, but I think there is still a problem with dump/load

If I do
  koha-preferences dump | koha-preferences load

I get an error
  YAML::XS::Load Error: The problem:
    invalid trailing UTF-8 octet
  was found at document: 1

If I do
  koha-preferences dump > prefs && file prefs
I get
  prefs: ISO-8859 text, with very long lines

but If I do
  koha-preferences dump -o prefs && file prefs
I get
  prefs: UTF-8 Unicode text, with very long lines

If I remove the call to decode_utf8 in dump subcommand, it works (ie. I get
UTF-8 Unicode in both cases, and dump|load seems to work)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list