added decoder for unicode reference characters.