Add the ability to set the input charset for the iconv extension