Handle HTML encoded characters