Fix IE and FireFox incompatibility
fix character encoding