getCharset
Method test sample