PDF Opening Issues

How to Fix Word Opening PDF Files with an Encoding Error

Aamir Naveed AkramAamir Naveed Akram Nov 3, 2026 869 views

Question details

The user is experiencing encoding errors because Windows is automatically opening PDF files in Microsoft Word instead of a dedicated PDF viewer, usually due to incorrect file associations.

How to Fix Word Opening PDF Files with an Encoding Error
Product
Microsoft Word / PDF
Device & OS
Windows
Scenario
Attempting to open a downloaded or scanned PDF file directly from the computer.
Observed behavior
The PDF opens in Microsoft Word instead of a PDF reader, resulting in an encoding error message or gibberish text instead of the actual document content.
Before you start

Verify that the file extension of the document you are trying to open is indeed '.pdf' and ensure you have a dedicated PDF reader installed on your computer.

Solution 1Recommended

Change the Default Program for PDF Files

Fix the encoding error by setting a dedicated PDF viewer as the default application for all PDF files.

When PDF files appear to have been converted into Word documents or display encoding errors, the actual issue is often an incorrect file association. A PDF may still have a .pdf extension while Windows attempts to open it with Microsoft Word.

1
Locate a PDF file

Find any PDF file on your computer that is currently displaying the Microsoft Word icon.

2
Open the context menu

Right-click the file and hover over 'Open with' in the drop-down menu.

3
Choose another app

Select 'Choose another app' or 'Choose default application' from the expanded menu.

4
Select a PDF reader

Choose a proper PDF reader from the list, such as WPS Office, Adobe Acrobat, or your preferred web browser.

5
Set as default

Check the box that says 'Always use this app to open .pdf files' and click 'OK'.

Change the Default Program for PDF Files
File Association Restored: All your PDF files will now open with the correct application, avoiding the Word encoding error.
Powerful PDF Reader and Editor

Use WPS Office to Seamlessly Open and Edit PDFs

WPS Office includes a built-in, lightweight PDF reader and editor. By setting WPS Office as your default PDF application, you can view, edit, and convert PDFs without dealing with Microsoft Word encoding errors.

  1. 1. Download and Install WPS Office: Get WPS Office for free from the official website and install it on your computer.
  2. 2. Set WPS as Default: During installation or in your Windows settings, set WPS Office as your default application for PDF and DOCX files.
  3. 3. Open Your PDF: Double-click any PDF file. It will now open cleanly in WPS PDF without any encoding issues.
Built-in PDF reader to open and view PDF files without encoding errors.Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight, fast, and completely free to use.Easily convert PDFs to editable Word documents with high accuracy.
microsoft office alternative - wps office

Frequently Asked Questions

Why is Microsoft Word trying to open my PDF files?

This happens when the file association for '.pdf' files gets accidentally changed to Microsoft Word in your Windows settings. Changing the default 'Open with' program back to a PDF reader resolves this.

Can Microsoft Word open PDF files without errors?

Modern versions of Microsoft Word have a 'PDF Reflow' feature that attempts to convert PDFs into editable Word documents. However, complex PDFs or those opened incorrectly via forced file associations can result in encoding errors or formatting loss.

How do I stop my web browser from downloading PDFs as Word files?

Web browsers do not inherently convert PDFs to Word. If downloaded files have a Word icon, it means your computer's default app for PDFs is set to Word. Change your default PDF viewer in Windows Settings to fix the icon and opening behavior.

Will changing the default PDF app affect my Word documents?

No. Changing the default application for '.pdf' files only affects PDFs. Your standard '.doc' and '.docx' files will continue to open in Microsoft Word or your preferred word processor.