IE encoding fixing may be needed outside of this class as well