[#18726, #18724] Fix IE encoding problem