Added charset utilities.