Handle URLs with wacky character encodings