question: public static boolean isEncodingSupported ( String encoding ) { if ( encoding == null ) { return false ; } try { return Charset . isSupported ( encoding ) ; } catch ( IllegalCharsetNameException icne ) { return false ; } }
target:  Determines whether this JRE can both encode and decode text in the specified encoding.