.pgn PGN-schaakspelnotatie
Tekst & broncode
| MIME-type | application/vnd.chess-pgn |
|---|---|
| Beschrijving | PGN-schaakspelnotatie |
| Afkorting | PGN – Portable Game Notation |
| Categorie | Tekst & broncode |
| Signatuur (magic bytes) | 5B 45 76 65 6E 74 20 ([Event ) |
| Gebaseerd op | text/plain |
Veelgestelde vragen
Wat is een .pgn-bestand?
Een .pgn-bestand is een formaat van het type „PGN-schaakspelnotatie” (MIME-type application/vnd.chess-pgn). PGN staat voor Portable Game Notation.
Waarmee open ik een .pgn-bestand?
Met elke teksteditor – bijvoorbeeld Notepad++, Visual Studio Code of onder Linux gedit en vim. Het bestand bevat leesbare tekst, mogelijk broncode of configuratie.
Hoe herken je een echt .pgn-bestand?
Aan het begin van het bestand, de zogenaamde signatuur (magic bytes): 5B 45 76 65 6E 74 20 ([Event ). Onder Linux en macOS controleert file --mime-type example.pgn het werkelijke type, los van de extensie.
Op welk formaat is .pgn gebaseerd?
Technisch is een .pgn-bestand een subtype van „Plain text document” (text/plain). Programma’s voor dat basisformaat kunnen het bestand daarom vaak ook lezen.
Welk MIME-type hoort bij .pgn?
Het MIME-type is application/vnd.chess-pgn. In de Apache-webserver: AddType application/vnd.chess-pgn .pgn; in nginx: types { application/vnd.chess-pgn pgn; }.