Skip to content

Encoding #32

@smfloery

Description

@smfloery

I am having problem with german umlauts like ä, ö, ü or ß....; the response for one request is:

{u'elements': [{u'lat': 47.861882, u'lon': 15.202494, u'type': u'node', u'id': 2949081313, u'tags': {u'natural': u'peak', u'man_made': u'survey_point', u'alt_name': u'Vaterberg', u'name': u'\u0102\x96tscher', u'ele': u'1893'}}], u'version': 0.6, u'osm3s': {u'timestamp_osm_base': u'2015-08-27T11:14:02Z', u'copyright': u'The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.'}, u'generator': u'Overpass API'}

The name Tag shoule be "Ötscher"...but this seems to be no valid utf8 encoding as name.encode('utf-8') produces no valid results....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions