Handle unicode characters in the URL better

Rather than trying to convert from latin1 to ASCII, embrace unicode
throughout