[Koha-bugs] [Bug 18336] Use utf8mb4 instead of utf8 for MySQL tables, columns, and connections

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 23 19:38:11 CET 2018


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 70854
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70854&action=edit
Bug 18336: Full stack tests for supplemental UTF-8 chars

This patch introduces tests for Koha's support for 4-byte supplemental
UTF-8 chars. encoding/decoding tools handle this gracefuly. The missing
piece is the MySQL DB backend.

The tests in this patch:
- Adds a couple records for each flavour (MARC21 and UNIMARC) so
  search_utf8.t tests 4-byte chars are handled correctly
- Adds emoji testing in auth_values_input_www.t

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/www/search_utf8.t \
          t/db_dependent/www/auth_values_input_www.t
=> FAIL: It should fail if the DB hasn't been migrated into using
utf8mb4

Sponsored-by: Hotchkiss School

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


More information about the Koha-bugs mailing list