Added charset/encoding flag and courtesy checks of supported charsets/locales