sourcepole / qgis-wps-client

GNU General Public License v2.0
13 stars 12 forks source link

Problem handling accents in WPS service titles? #2

Closed fionnh closed 8 years ago

fionnh commented 8 years ago

When trying to connect to a WPS batch geocoder with an accent in the title ("géocodeur batch"), the following error is returned :

self.processName = str(processDescription.at(0).toElement().elementsByTagNameNS("http://www.opengis.net/ows/1.1","Title").at(0).toElement().text()).strip() UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

hdus commented 8 years ago

please give it a try

fionnh commented 8 years ago

Will do ! Though I am hardly an expert in QGIS plug-ins. I'll let you know !

fionnh commented 8 years ago

It works now, brilliant ! FYI, it's a WPS by the French IGN on batch geocoding. http://wxs.ign.fr/[INSERT KEY HERE]/geobatch/wps/

hdus commented 8 years ago

What's the key to insert?