Do comparisons in unicode instead of ascii

Since we can easily display the differences in unicode in the browser it
is better to not convert to ascii to convert and just use the unicode
strings.