.pgn PGN-Schachspielnotation

Text & Quellcode

MIME-Typapplication/vnd.chess-pgn
BeschreibungPGN-Schachspielnotation
AbkürzungPGN – Portable Game Notation
KategorieText & Quellcode
Signatur (Magic Bytes)5B 45 76 65 6E 74 20 ([Event )
Basiert auftext/plain

Häufige Fragen

Was ist eine .pgn-Datei?

Eine .pgn-Datei ist ein Format vom Typ „PGN-Schachspielnotation“ (MIME-Typ application/vnd.chess-pgn). PGN steht für Portable Game Notation.

Womit öffne ich eine .pgn-Datei?

Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.

Woran erkennt man eine echte .pgn-Datei?

Am Dateianfang, der sogenannten Signatur (Magic Bytes): 5B 45 76 65 6E 74 20 ([Event ). Unter Linux und macOS prüft file --mime-type example.pgn den tatsächlichen Typ unabhängig von der Endung.

Auf welchem Format basiert .pgn?

Technisch ist eine .pgn-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.

Welcher MIME-Typ gehört zu .pgn?

Der MIME-Typ ist application/vnd.chess-pgn. Im Apache-Webserver: AddType application/vnd.chess-pgn .pgn; in nginx: types { application/vnd.chess-pgn pgn; }.

Benachbarte Einträge