correct special characters badly encoded