XCSoar / mapgen

Map generator for XCSoar
http://mapgen.xcsoar.org
GNU General Public License v2.0
11 stars 10 forks source link

Unicode Chars in Input not supported #1

Closed lordfolken closed 4 years ago

lordfolken commented 6 years ago

Jan 21 13:07:21 mapgen mapgen-worker[24684]: Error: 'ascii' codec can't encode character u'\u015f' in position 1: ordinal not in range(128) Jan 21 13:07:21 mapgen mapgen-worker[24684]: Traceback (most recent call last): Jan 21 13:07:21 mapgen mapgen-worker[24684]: File "/opt/mapgen/lib/xcsoar/mapgen/server/worker.py", line 42, in __do_job Jan 21 13:07:21 mapgen mapgen-worker[24684]: print('Generating map file for job uuid={}, name={}, mail={}'.format(job.uuid, job.description.name, job.description.mail))

lordfolken commented 4 years ago

https://www.w3schools.com/TAGS/att_input_pattern.asp could be a possible solution