fix for tag case change condition to include unicode