View Issue Details

IDProjectCategoryView StatusLast Update
0003209FSSCPPilot datapublic2020-12-24 09:56
ReporterMatthTheGeek Assigned ToGoober5000  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
OSWindows 
Product Version19.0.0 
Summary0003209: Special characters in ship names will break JSON pilot
DescriptionFirst found in Procyon Insurgency, which has a ship named GTF Erinyes².

When killed by the player, the JSON will end up with a scoring entry with no name value, resulting in a JSON crash at game start.

Of course this is mostly a modder issue here (don't use freaking special characters when we have "#name" available for ship names), but I feel like debug should at least throw a warning when parsing that ship entry. Right now FSO loads this ship fine (except for the specific JSON issue).
TagsNo tags attached.

Activities

Goober5000

2020-07-13 17:15

administrator   ~0017006

The unprintable character trick has been around ever since retail days. The # symbol in ship names wasn't supported until a few years into FSO's existence. (However the # symbol in ship class names has been supported since FS1.)

This is most likely a character encoding issue.

Goober5000

2020-07-13 20:22

administrator   ~0017007

Fixed in this PR:
https://github.com/scp-fs2open/fs2open.github.com/pull/2569

Issue History

Date Modified Username Field Change
2020-07-13 11:12 MatthTheGeek New Issue
2020-07-13 17:15 Goober5000 Note Added: 0017006
2020-07-13 20:22 Goober5000 Assigned To => Goober5000
2020-07-13 20:22 Goober5000 Status new => code review
2020-07-13 20:22 Goober5000 Note Added: 0017007
2020-12-24 09:56 Goober5000 Status code review => resolved
2020-12-24 09:56 Goober5000 Resolution open => fixed