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


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to