Closed smarnach closed 1 month ago
And I think the error message is clear: the parser expects PGN, and possible values are described here. PGN is a pure ascii format (by definition). I understand that you would like to have it working that way, but I don't think that the parser should accept characters as result characters where the specification is strict.
I did a download of both a game from lichess and chess.com, and lichess has really wrong PGN exported. I will try to file there a ticket, but I see your point: as long as lichess is doing it wrong, all others have to follow :-( ( I hate that).
The fix should be easy, I will try my very best ...
Will be reverted on the next Lichess deploy https://github.com/lichess-org/scalachess/commit/9b558ff6478a810358cb1bea30bef6835afe96e8
Wow, @fitztrev was pretty fast. I would have not known where to search for. Glad that someone else noticed the problem (Lichess), and will fix it there. So I will close this ticket, because problem will go away soon. As long as you face the problem, use textuell query/replace of "½" with "1/2".
To reproduce, download any recent(ish) draw game from Lichess and try to parse it. Error message: