I am using the Neomodel library to bind my Neo4j database with Django framework. Trying to get an instance from my DB via local shell, I am getting an encoding error:
city = PlaceName.index.search(name=u'Zürich') UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128) How can I avoid this?
utf-8?class PlaceName(StructuredNode): name = StringProperty(index=True, required=True) lang = StringProperty(index=True, required=True) type = StringProperty(index=True, required=True) hasid = RelationshipTo('PlaceId', 'HAS_ID') descr = RelationshipTo('Desc', 'HAS_DESC')