This patch is adding a wrapper class called CharSetConverter for ConverterEBCDIC which was added previously here https://reviews.llvm.org/rGb42718dcecdd6787e0fde826ef7377f4e3cdd7bd.
This is the base for two patches, the first will add-on iconv support to this CharSetConverter class so we can support more charsets (https://reviews.llvm.org/D153418). The other patch is the implementation of fexec-charset (https://reviews.llvm.org/D153419) which relies on this CharSetConverter class.