call prepareEncodingName on $newContentCharset