What is MIME type "application/vnd.wordperfect"?
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
application/vnd.wordperfect is the MIME type for files created with the WordPerfect word processor. It tells your PC and software that the file holds a formatted text document with complex layout information.
This MIME type mainly serves to associate files with programs that can open, edit, and print WordPerfect documents. It is common for both legacy files and newer documents from WordPerfect.
Files using this MIME type can have several extensions. For example, you might see files with the extensions DOC, WPD, WP, WP5, W51, WP6, W60, W61, WP4, W50, W52, W62, and WP7.
- The MIME type ensures correct file handling by matching it with the proper editing software.
- It supports rich text formatting, images, and special layouts.
- It is vital for document archiving and conversion processes.
- Alternative office suites may also recognize and open these files.
For more details on how MIME types work in modern systems, see the MIME Wikipedia page.
For further reading on WordPerfect software, visit the WordPerfect Wiki.
Associated file extensions
.doc, .wpd, .wp, .wp5, .w51, .wp6, .w60, .w61, .wp4, .w50, .w52, .w62, .wp7
Usage Examples
HTTP Header
When serving content with this MIME type, set the Content-Type header:
Content-Type: application/vnd.wordperfect
HTML
In HTML, you can specify the MIME type in various elements:
<a href="file.dat" type="application/vnd.wordperfect">Download file</a>
Server-side (Node.js)
Setting the Content-Type header in Node.js:
const http = require('http');
http.createServer((req, res) => {
res.setHeader('Content-Type', 'application/vnd.wordperfect');
res.end('Content here');
}).listen(3000);
Associated file extensions
.doc, .wpd, .wp, .wp5, .w51, .wp6, .w60, .w61, .wp4, .w50, .w52, .w62, .wp7
FAQs
How do I open a file with the MIME type application/vnd.wordperfect?
You primarily use Corel WordPerfect to open these files. However, open-source alternatives like LibreOffice Writer and Microsoft Word (often requiring a specific import filter) can also read documents with extensions like WPD or WP.
Why is my .doc file identified as application/vnd.wordperfect?
Before Microsoft Word dominated the market, older versions of WordPerfect also used the DOC extension. If your system identifies a .doc file as application/vnd.wordperfect, it is likely a legacy WordPerfect document rather than a Microsoft Word file.
Do web browsers like Chrome or Firefox display WordPerfect files?
No, modern web browsers do not have built-in engines to render application/vnd.wordperfect content. Instead of displaying the text in the browser window, the browser will typically prompt you to download the file to your local disk.
How do I configure Apache to serve .wpd files correctly?
To ensure Apache sends the correct headers, add the following line to your .htaccess file or httpd.conf: AddType application/vnd.wordperfect .wpd .wp. This ensures browsers recognize the file type immediately.
What Nginx configuration is needed for WordPerfect files?
In Nginx, you should add the type to your mime.types file or within a types block in your server config. Use the syntax: application/vnd.wordperfect wpd wp;.
Can I convert application/vnd.wordperfect files to PDF or Word?
Yes, most compatible word processors allow you to use "Save As" or "Export" features. You can open the file in LibreOffice and save it as a Microsoft Word .docx or export it directly to application/pdf.
Is application/x-wordperfect the same as application/vnd.wordperfect?
Yes, application/x-wordperfect is an older, experimental MIME type used before the format was officially registered in the vendor (vnd) tree. You should use application/vnd.wordperfect for modern compliance, though legacy systems may still use the x- prefix.
General FAQ
What is a MIME type?
A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.
MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.
MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.
How do I find the MIME type for a file?
You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.
Why are multiple MIME types listed for one extension?
Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.