检查Encoding-name是否合法

Charset.isSupported()

原文地址:https://www.cnblogs.com/qrlozte/p/3177533.html