Ref T1191. We currently use utf8 charsets in MySQL, which silently truncate characters outside of the basic multilingual plane (larger than U+FFFF) like "Musical G-Clef".
Add a method to detect that a string contains characters outside of this range, and thus that inserting it will silently truncate data.