setCanEncode

abstract fun setCanEncode(canEncode: Boolean)

设置当前环境是否支持使用此字符集进行编码。