Code example for CharsetEncoder

Methods: canEncode