Menu

#70 ChessX cuts players' names

closed-fixed
GUI (72)
5
2009-06-14
2007-06-22
warjan
No

I opened a pgn in which one player is name: Computer "Deep Blue", but in the Game List it says Computer \ (the backslash character is not a typo). This is what is in pgn file: [Black "Computer \"Deep Blue\""]

Discussion

  • Michal Rudolf

    Michal Rudolf - 2007-06-23
    • assigned_to: mrudolf --> tux68
     
  • Michal Rudolf

    Michal Rudolf - 2007-06-23

    Logged In: YES
    user_id=655405
    Originator: NO

    Will be fixed by new PGN parser.

     
  • Michal Rudolf

    Michal Rudolf - 2009-06-10
    • assigned_to: tux68 --> mrudolf
     
  • Michal Rudolf

    Michal Rudolf - 2009-06-10

    Are such escaped quotes valid in PGN standard?

     
  • Michal Rudolf

    Michal Rudolf - 2009-06-10
    • status: open --> open-accepted
     
  • Bruno Rizzuti

    Bruno Rizzuti - 2009-06-14

    Reference is section 7 of the official document, which contains (among other things) the following:

    "A string token is a sequence of zero or more printing characters delimited by a
    pair of quote characters (ASCII decimal value 34, hexadecimal value 0x22). An
    empty string is represented by two adjacent quotes. (Note: an apostrophe is
    not a quote.) A quote inside a string is represented by the backslash
    immediately followed by a quote. A backslash inside a string is represented by
    two adjacent backslashes."

     
  • Bruno Rizzuti

    Bruno Rizzuti - 2009-06-14
    • status: open-accepted --> closed-fixed
     
  • Bruno Rizzuti

    Bruno Rizzuti - 2009-06-14

    Fixed by commit 929.

     

Log in to post a comment.

MongoDB Logo MongoDB