Follow-up Comment #3, bug #15377 (project freeciv):

The problem is that one byte of the last (multibyte) UTF-8 character of the
city name gets stripped by remove_trailing_spaces(), because this function
checks single bytes with isspace() and one byte of the last character in the
city name means "non-breakable space" in the Windows character set and thus
it gets stripped. So we would need a check for UTF-8 spaces instead of single
character spaces.

See also http://rt.freeciv.org/Ticket/Display.html?id=40601

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15377>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to