Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Quotation mark in PGN headers

Author: David Dory

Date: 17:47:57 02/01/03

Go up one level in this thread


On February 01, 2003 at 18:51:55, Dieter Buerssner wrote:

>I wonder, if the following PGN headers are correct
>
>[Event "Computer chess game 5' + 3""]
>(Typical Chessbase generated header)
>
>[Event "1& A (Pryca Gij\"]
>(Generated by Scid from a large database)
>
>I would think, that the correct way to write this would be
>
>[Event "Computer chess game 5' + 3\""]
>
>and
>
>[Event "1& A (Pryca Gij\\"]
>
>But it is a fact, that the above headers happen. I wonder, how PGN parsing
>software, that wants to be not too picky, and makes the best of what it sees,
>should do in those cases. I can see myself, that looking at the next char can
>help in those specific cases, but it may introduce other errors for correct PGN.
>
>How do other authors cope with this?
>
>Regards,
>Dieter

Personally, I don't like escape characters included in what should be "human"
text. That is not the purpose of PGN tags. IMHO the tag is an outlaw if it
includes escape chars, but everything between the opening and closing bracket is
accepted (and hopefully parsed), correctly.

If the tag includes a "+" and an integer is the next non-whitespace char, then
the first double quote following that integer is ignored.



Dave



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.