Bug 27526: Fix encoding issue on subfield
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Jul 2021 09:24:27 +0000 (11:24 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Oct 2021 09:44:22 +0000 (11:44 +0200)
commit9f1d78e8750a5c02e0e6e73f4185a5ffc18bed83
tree7e31c1e54b6cb9108434e5edc7257c0f1ad0cddc
parent5c0c400e16212b390eba9ca54bdd21a945dfe631
Bug 27526: Fix encoding issue on subfield

If you have a "é" subfield it should work!

Note that VARCHAR(1) for binary means 1-byte (from MySQL doc):
"For example, if the default character set is utf8mb4, CHAR(5) BINARY is
treated as CHAR(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin. This
differs from BINARY(5), which stores 5-byte binary strings that have the
binary character set and collation."

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/additem.pl