freeciv/freeciv-web

Invalid city name

stuartyeates opened this issue · 2 comments

The city name "‘Anaeho’omalu" is autofilled for me, but is invalid. The city name "‘’" is also invalid.

In both cases the message displayed in "City name is invalid. Please try a different shorter name."

Maybe there's an encoding issue somewhere?

Thanks for reporting. Indeed it is encoding issue. The fix will be in next server rebuild in 5-20 days.

Error caused by non-standard \u2019 unicode apostrophe. You could replace with a normal ' for now and it would work.

Sorry, didn't realise this is the languishing upstream freeciv-web repo. Check https://github.com/Lexxie9952/fcw.org-server/commit/25ec061fdd5c930a66e994dbedbf5797f514577c for fix.