Other PDF Issues

Fix Incorrect Characters When Copying Numbers from PDF

Phi Hung VoPhi Hung Vo Oct 28, 2026 869 views

Question details

The user experiences an issue where copying a specific digit from a PDF document and pasting it into another application results in an invalid character symbol.

How to Fix Incorrect Characters When Copying Numbers from a PDF
Product
PDF
Device & OS
not provided
Scenario
Selecting and copying text from a PDF document to paste into a text editor like Microsoft Word or Notepad.
Observed behavior
The pasted character appears as a square, a question mark, or another unrecognized symbol instead of the original number, indicating a font mapping error.
Before you start

Verify whether this issue occurs across multiple different PDF files or is isolated to one specific document, as this helps confirm if the document's internal encoding is the culprit.

Solution 1Recommended

Verify Font Encoding and Recreate the PDF

This is the most reliable method when the original source document is available. It resolves the root cause by fixing the font embedding before generating the PDF.

When a PDF is created, fonts must be properly embedded with standard Unicode mapping. If custom or corrupted fonts were used during the PDF creation, the text will look correct on the screen but will copy as invalid characters.

1
Check Document Properties

Open the problematic PDF in your PDF viewer. Navigate to File > Properties and select the Fonts tab to review the embedded fonts.

2
Identify the Problematic Font

Look for fonts that lack 'Embedded' or 'Embedded Subset' status, or custom fonts that might not be Unicode-compatible.

3
Modify the Source Document

Open the original source file (e.g., a Word document). Highlight the text causing the issue and change the font to a standard Unicode-compatible font like Arial, Calibri, or Times New Roman.

4
Re-export to PDF

Save the document and export it as a new PDF, ensuring that the 'Embed fonts' option is checked in your export settings.

Verify Font Encoding and Recreate the PDF
Complete PDF Solution

Fix PDF Text Extraction Issues with WPS Office

WPS Office includes a robust PDF editor equipped with advanced OCR technology and font management, making it easy to bypass text copying errors and convert documents seamlessly without encoding issues.

  1. 1. Open the PDF: Launch WPS Office and open your problematic PDF file.
  2. 2. Access OCR: Go to the 'Tools' tab on the top ribbon and click on 'OCR'.
  3. 3. Extract Text: Select 'Extract Text', choose the document language, and click 'Extract' to scan the page visually.
  4. 4. Copy Results: Once processing is complete, simply copy the accurately recognized text and paste it anywhere without encountering squares or question marks.
Built-in OCR to extract text accurately from problematic PDFsEasily convert Word to PDF with proper font embeddingFully compatible with standard PDF formatsLightweight, fast, and completely free to download
QA img-9

Frequently Asked Questions

Why do squares or question marks appear when I copy text from a PDF?

This usually happens because the PDF has missing or incorrect font encoding, or the font mapping is damaged. The computer knows there is a character present but doesn't know which Unicode character it represents, so it displays a placeholder like a square.

Will pasting into a different program fix the corrupted text?

No, changing the destination application (e.g., pasting to Notepad instead of Word) usually does not fix the problem because the issue lies in the source PDF's internal font encoding, not the application you are pasting into.

How can I tell if a font is properly embedded in my PDF?

Open the PDF properties (usually under File > Properties) and navigate to the Fonts tab. Here you will see a list of all fonts used. If a font says 'Embedded' or 'Embedded Subset', it is included in the file. If encoding issues persist despite embedding, the font itself might lack proper Unicode mapping.