View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023393 | AI War 2 | Graphical Bug | Jul 14, 2020 3:00 pm | Jul 16, 2020 10:06 am | |
Reporter | ParadoxSong | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.097 Below Minimum | ||||
Fixed in Version | 2.101 Connection Status: Confirmed | ||||
Summary | 0023393: Tutorial journal text displays nonexistent "??" in the chat log, but correctly has a new line in the journal. | ||||
Description | Screenshot attached, Badger said it looks like the newlines are being replaced/ aren't supported and are outputting ?? instead. | ||||
Tags | No tags attached. | ||||
|
|
|
The XML is chat_text="Commander, we need to be careful about increasing the AIP too much. Remember, we are running a Guerrila campaign! It's a good idea to neuter planets (aka defeat all the AI defenses without blowing up the command station or warp gate); this allows our ships to strike deeper against the AI with safely, but without generating more AIP. Capturing too many planets will cause the AI to get very strong very quickly." It looks like the chat is turning newlines into ?s. Chris, can you give me advice on what to use instead? |
|
Ah! Yes, I can see where that is a problem. The two ?s are likely the \n and \r, or newline and carriage return respectively. Different OSes use different kinds of whitespace for that. In the chat log stuff, I don't think that I built in anything to support those characters, but I will do so now. Thanks! |
|
Thanks! * Carriage returns and newlines are now supported by the "condensed" string format. This will prevent tutorial messages from turning those characters into question marks when they are dumped to the chat log. Note that this will only affect chat log messages logged in this version and on, not past versions. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jul 14, 2020 3:00 pm | ParadoxSong | New Issue | |
Jul 14, 2020 3:00 pm | ParadoxSong | File Added: newlinequestions.PNG | |
Jul 14, 2020 3:02 pm | BadgerBadger | Note Added: 0057591 | |
Jul 14, 2020 3:02 pm | BadgerBadger | Assigned To | => Chris_McElligottPark |
Jul 14, 2020 3:02 pm | BadgerBadger | Status | new => assigned |
Jul 14, 2020 3:03 pm | Chris_McElligottPark | Note Added: 0057592 | |
Jul 16, 2020 10:06 am | Chris_McElligottPark | Status | assigned => resolved |
Jul 16, 2020 10:06 am | Chris_McElligottPark | Resolution | open => fixed |
Jul 16, 2020 10:06 am | Chris_McElligottPark | Fixed in Version | => 2.101 Connection Status: Confirmed |
Jul 16, 2020 10:06 am | Chris_McElligottPark | Note Added: 0057640 |