lib/util/charset Don't allow invalid 'dos charset = utf8'