Handle character sets while viewing html