附錄 E 副檔名與設定的內容類型屬性的關係
依[檔案名稱]屬性值自動判斷文件的[內容類型]屬性。[檔案名稱]字串中最後的「.(結束符)」之後的字串為副檔名。
補充
下表中沒有的副檔名為「application/octet-stream」。
| 副檔名 | 內容類型 | 備註 |
|---|---|---|
| bmp | image/bmp | ― |
| csv | text/csv{;charset}(*1) | ― |
| xdw | application/vnd.fujifilm.docuworks | DocuWorks文件 |
| xbd | application/vnd.fujifilm.docuworks.binder | DocuWorks活頁夾 |
| xct | application/vnd.fujifilm.docuworks.container | DocuWorks容器 |
| dwg | image/vnd.dwg | ― |
| dxf | image/vnd.dxf | ― |
| gif | image/gif | ― |
| glf | application/vnd.hp-HPGL | ― |
| htm、html | text/html{;charset}(*1) | ― |
| jpg、jpeg、jpe、jfif、jfi、jif | image/jpeg | ― |
| jt | application/x-jt | ― |
| mdb | application/x-msaccess | Microsoft Access |
| xls、xla、xlc、xlm、xlt、xlw | application/vnd.ms-excel | Microsoft Excel |
| xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 | Microsoft Excel |
| xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Microsoft Excel |
| ppt、pot、 pps | application/vnd.ms-powerpoint | Microsoft PowerPoint |
| pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 | Microsoft PowerPoint |
| pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | Microsoft PowerPoint |
| mpp | application/vnd.ms-project | Microsoft Project |
| pub | application/x-mspublisher | Microsoft Publisher |
| vsd、vst、 vsw、vss | application/vnd.visio | Microsoft Visio |
| doc、dot | application/msword | Microsoft Word |
| docm | application/vnd.ms-word.document.macroEnabled.12 | Microsoft Word |
| docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Microsoft Word |
| oxps | application/oxps | ― |
| x_b | model/vnd.parasolid.transmit-binary | ― |
| x_t | model/vnd.parasolid.transmit-text | ― |
| application/pdf | ― | |
| png | image/png | ― |
| step、stp | application/STEP | ― |
| tif、tiff | image/tiff | ― |
| tfx | image/tiff-fx | ― |
| xml | application/xml{;charset}(*1) | ― |
| xps | application/vnd.ms-xpsdocument | ― |
| txt | text/plain{;charset}(*1) | ― |
| eml、mht、 mhtml、nws | message/rfc822 | ― |
| rtf | application/rtf | ― |
| jaw、jbw、jfw、jsw、jtd、jtdc、jtt、jttc、jtw、juw、jvw、jxw | application/x-js-taro | Ichitaro |
| gz | application/gzip | ― |
| tar | application/x-tar | ― |
| zip | application/zip | ― |
*1:內容類型為「text/csv」、「text/html」、「text/plain」、「application/xml」時,「{;charset}」部分為字元集。
例) text/plain; charset=Windows-31J
例) text/plain; charset=Windows-31J