1.9 Space before names

Here you can... report bugs. Open a new thread for each bug, please.
Post Reply
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

1.9 Space before names

Post by atd »

Before some names (in the german league) stands a space, so you have names like ' Schmidt' and commentary like ' Schmidt has the ball' :lol:. I had looked in the xml file, but there isn't a name with a space before it.
attack is the best way to defend ~~ Arne Deprez
-----------------
"De omnis Belgae fortissimi sunt."(Of all these, the Belgians are the bravest.) ~~ Julius Caesar
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

seems like there's a bug in the cut-away-first-name function. does it only occur in the german league? and what's the first name of that schmidt guy?

gyözö
Press any key to continue or any other key to quit.
Lomion
Posts: 58
Joined: Thu Jun 23, 2005 10:14 am
Location: Grenoble, France

Post by Lomion »

I just tried a game with a german team and could not reproduce the bug. Could it be a problem with the utf-8 encoding, for example if the first name ends with a vowel with an umlaut or something ?
Why not store the first and last names as two different strings ?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

Lomion wrote:if the first name ends with a vowel with an umlaut or something ?
yeah, that's why i asked about the chap's first name. could be a jürgen, for instance :-P
Why not store the first and last names as two different strings ?
because the live game commentary is the only place we need them separately, everywhere else we have both names.

gyözö
Press any key to continue or any other key to quit.
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

Post by atd »

It was 'Martin '(with a space after it). I have checked the xml file and fixed it.:D
Attachments
player_names_germany.xml.txt
The fixed xml file
(14.4 KiB) Downloaded 79 times
attack is the best way to defend ~~ Arne Deprez
-----------------
"De omnis Belgae fortissimi sunt."(Of all these, the Belgians are the bravest.) ~~ Julius Caesar
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

cool, not a bug, after all.

thanks for the report and the fix :-)

gyözö
Press any key to continue or any other key to quit.
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

Post by atd »

gyboth wrote:cool, not a bug, after all.
Only a bug in the german XML file :)
attack is the best way to defend ~~ Arne Deprez
-----------------
"De omnis Belgae fortissimi sunt."(Of all these, the Belgians are the bravest.) ~~ Julius Caesar
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

atd wrote:
gyboth wrote:cool, not a bug, after all.
Only a bug in the german XML file :)
true. i wish i had only this kind of bugs ;-)
Location: Now at Milano and Mönchengladbach
you're in milano and mönchengladbach?

gyözö
Press any key to continue or any other key to quit.
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

Post by atd »

gyboth wrote:
Location: Now at Milano and Mönchengladbach
you're in milano and mönchengladbach?
We're managing these two teams. :)
attack is the best way to defend ~~ Arne Deprez
-----------------
"De omnis Belgae fortissimi sunt."(Of all these, the Belgians are the bravest.) ~~ Julius Caesar
Post Reply