Fixed tags with UTF-8 chars

Fixed error Tag->Name is not valid if tag in non latin chars