add method getCharset in interfaces