Fixed a unicode glitch in tag processing