hack to fix errors when browsing to urls containing unicode characters