[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:35:40 CET 2021


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

--- Comment #46 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Hum

$ perl misc/admin/koha-preferences dump | perl misc/admin/koha-preferences load
It works

$ perl misc/admin/koha-preferences dump > prefs && file prefs
prefs: ASCII text

indeed, but edit URLLinkText, set "✔ ❤️ ★"

$ perl misc/admin/koha-preferences dump > prefs && file prefs
prefs: UTF-8 Unicode text

$ perl misc/admin/koha-preferences dump | perl misc/admin/koha-preferences load
Still works

Edit URLLinkText, it contains the characters in the correct encoding.

Can you try adding
  binmode STDOUT, ':encoding(UTF-8)';
before Dump?

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


More information about the Koha-bugs mailing list