.toc CD-Inhaltsverzeichnis
Text & Quellcode
| MIME-Typ | application/x-cdrdao-toc |
|---|---|
| Beschreibung | CD-Inhaltsverzeichnis |
| Kategorie | Text & Quellcode |
| Signatur (Magic Bytes) | 43 41 54 41 4C 4F 47 20 22 (CATALOG ")43 44 5F 44 41 0A (CD_DA.)43 44 5F 52 4F 4D 0A (CD_ROM.) |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .toc-Datei?
Eine .toc-Datei ist ein Format vom Typ „CD-Inhaltsverzeichnis“ (MIME-Typ application/x-cdrdao-toc).
Womit öffne ich eine .toc-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 .toc-Datei?
Am Dateianfang, der sogenannten Signatur (Magic Bytes): 43 41 54 41 4C 4F 47 20 22 (CATALOG "), 43 44 5F 44 41 0A (CD_DA.) und 43 44 5F 52 4F 4D 0A (CD_ROM.). Unter Linux und macOS prüft file --mime-type example.toc den tatsächlichen Typ unabhängig von der Endung.
Auf welchem Format basiert .toc?
Technisch ist eine .toc-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 .toc?
Der MIME-Typ ist application/x-cdrdao-toc. Im Apache-Webserver: AddType application/x-cdrdao-toc .toc; in nginx: types { application/x-cdrdao-toc toc; }.