chessx can't read some PGN files from chess.com
Chess Database and PGN viewer
Brought to you by:
hognose
chessx version 1.5.6. The chess.com site puts out PGN files which include literal "plus minus" signs as commentary following the move, instead of the symbol "$16", the NAG that the PGN spec says should be used. The game appears to terminate at that move. In the example, seems to end after 12 moves, where the PGN includes the evaluation. Hand-editing the file to use $16 works, and chessx continues parsing past that point, displaying a red plus-minus in the move notation.
Not really your problem (reported to chess.com); however, PGN is supposed to be super-lax for input, so perhaps you can parse the plus-minus, minus-plus, perhaps even !! or !? or whatever else they might stick in there (as Lichess does).
The problem with chess.com files is manifold: They are encoding in UTF8 (ASCII is required by PGN), the line endings format is Unix (Windows is required by PGN). !! and !? is legal (there are some very few allowed symbolic nags - tools are asked to not write these nags but they should accept them (and convert them for export)). But this is the first time I see ± as nag. What will chess.com generate in case Black has a moderate advantage (-/+ ?)?
Included in 1.5.8
Ticket moved from /p/chessx/bugs/295/