PDF Conversion Issues

Fix Special Characters in Adobe Acrobat OCR Text Exported to JSON

John WilsonJohn Wilson Nov 24, 2026 868 views

Question details

Determine why text recognized from a PDF appears as special characters when converted to or displayed as JSON.

Fix Special Characters in Adobe Acrobat OCR Text Exported to JSON
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A user applies OCR to a PDF and passes the extracted text to a JSON conversion or display process.
Observed behavior
The text appears readable in Acrobat, but special characters appear in the JSON output or application display.
Before you start

Identify how the OCR text is extracted from Acrobat and which application converts or displays it as JSON. Keep a short sample of the original text and its JSON output available for comparison.

Solution 1Recommended

Check whether JSON encoding or parsing changes the OCR text

Use this method when the text looks correct in Acrobat but changes after extraction or JSON conversion.

1
Compare the extracted text

In Acrobat, select and copy a short passage into a plain-text editor. Compare it with the text immediately before your application serializes it to JSON.

2
Check JSON escapes

Inspect the JSON output for sequences such as \u00e9. These are valid JSON escapes, not necessarily corrupted text; parse the JSON and check whether the resulting string displays correctly.

3
Use UTF-8 consistently

In the exporting and receiving applications, select UTF-8 where an encoding option is available. For JSON sent over HTTP, check the response headers and use a JSON parser rather than treating the response as an arbitrary byte string.

4
Inspect character codes

In your application or a debugging console, inspect the character codes before and after JSON serialization. For example, in Python, use repr(text) and [hex(ord(c)) for c in text] on a short sample to locate the stage where characters change.

Check whether JSON encoding or parsing changes the OCR text
Escaped text can still be correct: A JSON string containing Unicode escapes represents the same characters after parsing. If the parsed string is correct, adjust the display or serializer settings only if you need the raw JSON to show readable characters.
Alternative OCR workflow

Extract PDF Text with WPS Office for UTF-8 JSON Conversion

Use WPS PDF to recognize text from a scanned PDF, review the result in WPS Writer, and save it as text for conversion to JSON. The JSON conversion itself requires a separate script or application.

  1. 1. Open the scanned PDF: Open WPS Office and use Open to select the original scanned PDF.
  2. 2. Recognize the text: In WPS PDF, open the OCR tool and select the appropriate recognition language and pages. Run OCR; availability and menu names may vary by version or plan.
  3. 3. Review and save the text: Open or copy the recognized text into WPS Writer, check a sample against the PDF, and use File > Save As to save a plain-text file. Choose UTF-8 if an encoding option is offered.
  4. 4. Convert the text to JSON: Use a JSON serializer in your application to read the text as UTF-8 and write JSON as UTF-8. Parse the result and compare a sample with the text in Writer.
Recognize and review scanned PDF text before JSON conversionEdit extracted text in a familiar word-processing interfaceWork with Microsoft Word formats such as DOCXUse one suite for PDF and document workflows
microsoft office alternative - wps office

Frequently Asked Questions

Does a Unicode escape such as \u00e9 mean the OCR text is corrupted?

No. It is a valid JSON representation of a character. Parse the JSON and check the resulting string before treating the escape as an error.

How can I tell whether Acrobat or my application caused the problem?

Copy a short OCR passage from Acrobat into a plain-text editor and compare it with the text before JSON serialization and after JSON parsing. The first point where it changes helps identify the responsible stage.

Where can I change the OCR language in Acrobat?

Open the scanned PDF and go to All tools > Scan & OCR > Recognize text, then open the recognition settings and select the document language. Menu names can vary by version.

What should I provide if the text is still incorrect?

Provide the Acrobat version, OCR method, export format, and a short sample showing the expected text and JSON output. Include the character codes if you can inspect them.