change use of string character set name to Charset class