hardware-fuer-alle icon indicating copy to clipboard operation
hardware-fuer-alle copied to clipboard

Encoding error in settings

Open sofakissen opened this issue 12 years ago • 1 comments

Entering special characters in the settings page leads to an error: ascii' codec can't encode character u'\xfc' in position 9: ordinal not in range(128)

Edit: error also occures when entering special character as location when adding new hardware (i.e. "Köln")

Edit 2: actualy, this error occurs everythere ;)

sofakissen avatar Oct 15 '12 17:10 sofakissen

You currently have to patch geopy. replace the line 81 in the geocoders/google.py file with the following: url = self.url % urlencode(dict([k, v.encode('utf-8')] for k, v in params.items()))

phillipthelen avatar Dec 08 '12 16:12 phillipthelen