daq-tools / kotori

A flexible data historian based on InfluxDB, Grafana, MQTT, and more. Free, open, simple.
https://getkotori.org/
GNU Affero General Public License v3.0
108 stars 17 forks source link

Problem when using unicode characters in channel name or field name #96

Open amotl opened 2 years ago

amotl commented 2 years ago

From the backlog at [1], it is from 2017 already.

Problem when using unicode characters like "Niederkrüchten-Overhetfeld" or field names like "Temperatur außen".

exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in position 13: ordinal not in range(128)

Example URL: https://swarm.hiveeyes.org/api/hiveeyes/testdrive-aw/Niederkr%C3%BCchten-Overhetfeld/node-001/data.txt?from=2016-01-01

[1] https://github.com/daq-tools/kotori/blob/0.26.12/doc/source/development/backlog.rst#2017-02-06-1