Change return format for provided encodings and charsets. Issue #14