<div dir="ltr">Hi everyone, bug 18336, implementing utf8mb4 encoding [1] is now failed QA (should probably be IN DISCUSSION).<div><br></div><div>The reason for it to be failed is that the encoding change from utf8 into utf8mb4 alters all *text fields too (and I didn't notice it) and so there's a discrepancy between the updated schema and a fresh one. Fixing it seems easy: I just need to change all fields like this in kohastructure.sql:</div><div><br></div><div>TEXT => MEDIUMTEXT</div><div>MEDIUMTEXT => LONGTEXT</div><div><div><br></div><div>As I understand it, *TEXT columns only store as part of the row the number of bytes stored (in the external object storage) for the object [2]. Given this, the changes described above means this size change:</div><div><br></div><div>2 bytes => 3 bytes</div><div>3 bytes => 4 bytes</div><div><br></div><div>The move into utf8mb4 is needed, and is important for supporting supplemental characters (japanese, chinese, emojis, etc). Do you have another understanding on how this could impact (say) space? Do you think we should move forward with it?</div><div><br></div><div>I think we should move forward and will provide a followup patch right now, but more opinions are needed here.</div><div><br></div><div>Thanks in advance</div><div>Tomás</div><div><br></div><div>[1] <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18336">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18336</a><br></div></div><div>[2] <a href="https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html">https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html</a></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Tomás Cohen Arazi</div><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Theke Solutions (<a href="http://theke.io/">https://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div>