Fix Missing Chinese Characters When Submitting PDF Form Data
Question details
The user needs to resolve an issue where Chinese characters entered into a PDF form are lost or appear blank when the form data is submitted to a backend database.

- Product
- Adobe Acrobat XI Pro
- Device & OS
- Mac OS X El Capitan
- Scenario
- Submitting completed PDF form data containing non-English (Chinese) characters to a backend server (PHP/HTML) and database.
- Observed behavior
- The form data posts successfully from the PDF reader, but the Chinese characters are missing or incorrectly displayed in the database due to encoding mismatches.
Ensure you have access to edit the original PDF form file properties as well as the backend server scripts (PHP) and database configurations processing the submissions.
Ensure Consistent UTF-8 Encoding Across All Platforms
The most common cause of missing non-English characters is a mismatch in character encoding between the PDF, the server, and the database. Setting every layer to UTF-8 resolves this.
When submitting form data containing Chinese characters, the data passes through several layers: the PDF reader, the HTTP request, the server-side script, and finally the database. If any of these layers are not explicitly set to handle UTF-8 encoding, the characters will be lost or corrupted.
Open your form in your PDF editor. Right-click the Submit button, select Properties, go to the Actions tab, and edit the Submit Form action. Ensure the export format is set to use UTF-8 encoding.
In your PHP processing script, add the explicit header definition at the top of your code: header('Content-Type: text/html; charset=utf-8'); to ensure the server processes the incoming POST data correctly.
Configure your database connection script to use UTF-8. For example, if using MySQLi in PHP, execute mysqli_set_charset($conn, 'utf8mb4'); immediately after establishing the connection.
Open your database management tool (like phpMyAdmin) and ensure the specific tables and columns receiving the form data are set to use the 'utf8mb4_unicode_ci' collation.

Verify Embedded Font Support for Chinese Characters
If the PDF form fields are not configured with a font that supports Chinese characters, the data may not render or submit properly.
Use WPS Office for Reliable Document and Form Management
If you are experiencing persistent formatting and encoding issues with heavy, expensive PDF and document software, consider switching to WPS Office. WPS PDF offers a lightweight, highly compatible alternative for viewing, filling, and managing PDF documents seamlessly.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your Mac or Windows device.
- 2. Open Your PDF Form: Launch WPS PDF and open your interactive PDF document directly within the application.
- 3. Fill and Save Securely: Fill out your form using reliable, built-in language support and save or submit your document without losing formatting.

Frequently Asked Questions
Why do Chinese characters turn into question marks in my database?
This happens when the database column collation does not support Unicode (UTF-8). The database cannot recognize the submitted text and replaces the unknown characters with question marks. Updating your table collation to utf8mb4 will resolve this.
Can I fix encoding issues without changing my PHP code?
Usually, no. If the PHP script does not explicitly read and process the incoming POST data as UTF-8, it may corrupt the characters before they even reach the database.
Does the PDF font affect the submitted data?
Yes. While the font primarily affects how the characters are displayed visually inside the PDF document, an unsupported font can sometimes cause the PDF reader to fail to capture the correct underlying Unicode values during submission.
How do I check my current database encoding?
You can check your database encoding by accessing your database management tool (like phpMyAdmin), selecting your database, and looking at the 'Collation' column for your specific tables.




