Replaced iconv with encoding, use 'he' instead of baked in html decoding