Opponent list does not like special characters. (in General)


Descent January 20 2005 11:22 AM EST

When fighting Shade's character Iluvatar, the name is displayed as "Ilúvatar". I recall seeing it display the special character in the name before. Perhaps that was in CB1.

AdminJonathan January 20 2005 12:13 PM EST

That's because that's literally what Shade typed as his name, so in the opponents-update javascript you have

var o = new Option('C Ilúvatar (29,478)', 1910)

I don't know a workaround for this.

[HaveToLook]Buffet January 20 2005 1:14 PM EST

Does & #250; do the same thing in the drop down? If so who needs semicolons in their names anyways...
"UPDATE tbl_characters SET char_name_column = replace(char_name_column, ';', 'bah')"

Problem solved. :-)
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=001ARG">Opponent list does not like special characters.</a>