Unicode handling for tags