freeciv-web icon indicating copy to clipboard operation
freeciv-web copied to clipboard

Invalid city name

Open stuartyeates opened this issue 3 years ago • 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?

stuartyeates avatar Mar 08 '21 18:03 stuartyeates

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.

Lexxie9952 avatar Mar 09 '21 08:03 Lexxie9952

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

Lexxie9952 avatar Mar 09 '21 09:03 Lexxie9952