Charset class to handle encoding's acceptable digits