Description
In several places, String constants are used to specify an encoding for data.
Please add methods that accept Charset instead, and deprecate the existing methods.
The goal of this change is to reduce code smell (using String constants instead of a real value type).