The coming soon Item and Field method val_raw() method (needed by
MDEV-13995 and user defined data types) will need to operate with binary strings rather than character strings. So a part of MDEV-7063 is needed for val_raw().
To do MDEV-7063 in small clear steps, let's add class Charset as a separate step
and then derive String from this class.