[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-14 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > In civclient 2.1.7, a random city name was generated, "Perpiny[X]". The [X] stands for some weird graphic of a presumably unprintable character. Clicking on this city crashes both civclient 2.1.7 and 2.1.8 on Windows Vista SP1. I've attache

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-16 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [bvanev...@gmail.com - Mon Dec 15 02:25:20 2008]: > > In civclient 2.1.7, a random city name was generated, "Perpiny[X]". > The [X] stands for some weird graphic of a presumably unprintable > character. Clicking on this city crashes both

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-16 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [bvanev...@gmail.com - Wed Dec 17 03:17:43 2008]: > > On Tue, Dec 16, 2008 at 8:25 PM, Madeline Book > wrote: > > > > So my best guess is that somehow the contents of the save file > > got munged into the present state (invalid utf8) outs

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [bvanev...@gmail.com - Wed Dec 17 21:30:18 2008]: > > On Wed, Dec 17, 2008 at 4:28 PM, Jordi Negrevernis i Font > wrote: > > > > http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > > > > > > I must say that this only happens on Windo

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [bvanev...@gmail.com - Wed Dec 17 23:43:51 2008]: > > On Wed, Dec 17, 2008 at 5:42 PM, Madeline Book > wrote: > > > > This could be proven if you turn off the "prompt for city > > name" option and build a city with the Perpinya settler. >

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Christian Prochaska
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > The default Windows character set in western countries is CP1252: http://en.wikipedia.org/wiki/CP1252 In this character set 0xA0 means "non-breakable" space, so this character gets stripped by remove_trailing_spaces() when reading the natio

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [cproc - Thu Dec 18 04:42:10 2008]: > > The default Windows character set in western countries is CP1252: > > http://en.wikipedia.org/wiki/CP1252 Ah thanks for that, the last piece of the puzzle. ;) > In this character set 0xA0 means "

[Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > [bvanev...@gmail.com - Thu Dec 18 04:26:29 2008]: > > On Wed, Dec 17, 2008 at 9:04 PM, Madeline Book > wrote: > > > > When you start a client from a dos window, it should print > > a line like: > > > > Encodings: Data=UTF-8, Local=UTF-8,

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Tue, Dec 16, 2008 at 8:25 PM, Madeline Book wrote: > > So my best guess is that somehow the contents of the save file > got munged into the present state (invalid utf8) outside of > freeciv. Are you sure you did not open and re-save it in

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Tue, Dec 16, 2008 at 11:32 PM, Madeline Book wrote: > > By the way, do you play with the "prompt for city names" > local option enabled? No. > Also, what happens when you play a nation like Brazillian > or Turk? Do the utf8 characters i

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Wed, Dec 17, 2008 at 11:13 AM, Brandon Van Every wrote: > On Tue, Dec 16, 2008 at 11:32 PM, Madeline Book > wrote: >> >> By the way, do you play with the "prompt for city names" >> local option enabled? > > No. I spoke too quickly. Ye

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > Forgot the attachment. catalan-1400.sav.gz Description: GNU Zip compressed data ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Wed, Dec 17, 2008 at 1:33 PM, Brandon Van Every wrote: > > 4) build the Settler. The "What should we call our new city?" > dialogue box appears. It contains the garbled string "Perpiny[X]". Additional weirdness: if you try to edit the

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Jordi Negrevernis i Font
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > I must say that this only happens on Windows GTK2 client... not on gtk2 linux client... ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Wed, Dec 17, 2008 at 4:28 PM, Jordi Negrevernis i Font wrote: > > http://bugs.freeciv.org/Ticket/Display.html?id=40601 > > > >I must say that this only happens on Windows GTK2 client... not on > gtk2 linux client... So it's probably

Re: [Freeciv-Dev] (PR#40601) bad char in city name crashes GTK civclient 2.1.7 and 2.1.8

2008-12-17 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40601 > On Wed, Dec 17, 2008 at 5:42 PM, Madeline Book wrote: > > What I suspect is that when the string is placed into the > entry box, gtk tries to convert it to an encoding other > than utf-8, or chops off the last character resulting > in the in