How to Fix Chinese Characters Displayed as Gibberish in Power Query
Question details
The user needs to correctly display Chinese characters in Power Query when importing a UTF-8 text file, preventing them from turning into unrecognizable text.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Importing a text file or CSV containing Chinese characters into Power Query for data processing.
- Observed behavior
- Chinese characters are displayed incorrectly as gibberish or symbols in Power Query, even though the same source file appears perfectly readable in Notepad or standard Excel.
Ensure you have access to the original source text file and verify its true encoding by opening it in a plain text editor like Notepad.
Change the File Origin Encoding to UTF-8 During Import
The most common reason for gibberish characters in Power Query is an incorrect file origin setting. Manually setting the encoding to UTF-8 usually resolves the issue.
Power Query sometimes defaults to a legacy Windows code page (like Windows-1252 or ANSI) when importing text files. Because Chinese characters require multi-byte encoding (UTF-8), this mismatch causes the text to render as gibberish.
Go to the Data tab on your ribbon, click 'Get Data', select 'From File', and then click 'From Text/CSV'.
Browse your computer to locate the problematic text file containing the Chinese characters and click 'Import'.
In the preview window that automatically appears, look for the 'File Origin' dropdown menu at the top. Change this selection from its default to '65001: Unicode (UTF-8)'.
Check the data preview box to ensure the Chinese characters are now displaying correctly. Once confirmed, click 'Load' or 'Transform Data' to complete the import.

Resave the Source Text File as UTF-8
If changing the encoding in Power Query doesn't work, the source file may not actually be saved in a standard UTF-8 format.
Import Text Files Without Encoding Errors in WPS Office
WPS Spreadsheet provides a highly intuitive Text Import Wizard that automatically detects and allows you to easily assign UTF-8 encoding, ensuring Chinese characters and other complex text formats display perfectly upon import.
- 1. Access Data Import: Open WPS Spreadsheet, navigate to the 'Data' tab on the top ribbon, and click on 'Import Data'.
- 2. Select Text File: Choose 'Import from Text' from the drop-down menu and locate your text file on your computer.
- 3. Choose UTF-8 Encoding: In the File Conversion dialog box that appears, select 'Other encoding' and scroll to choose 'UTF-8' so the Chinese characters appear correctly in the preview.
- 4. Finish the Wizard: Click 'Next' to assign your delimiters, then click 'Finish' to seamlessly load your perfectly formatted text into the spreadsheet.

Frequently Asked Questions
Why do Chinese characters appear as question marks or gibberish in Power Query?
This happens when Power Query imports a file using an incorrect character encoding standard (like ANSI or Windows-1252) instead of UTF-8, causing multi-byte characters like Chinese to be misread by the system.
Can I set UTF-8 as the default encoding for all Power Query imports?
Power Query typically attempts to auto-detect the encoding based on the first few rows of data. You cannot strictly force UTF-8 as a global default for all future imports; you must ensure the 'File Origin' is correctly set to '65001: Unicode (UTF-8)' during each new import process.
Does this encoding issue affect exported CSV files as well?
Yes. If data containing Chinese characters is processed or exported with the wrong encoding standard, the resulting CSV file will also display gibberish. Always ensure your export or 'Save As' settings explicitly specify UTF-8 encoding.
What if changing the file origin to UTF-8 in Power Query doesn't fix the gibberish?
If adjusting the setting during import fails, the original file might be corrupted or saved in an unsupported legacy format. Try opening the original file in a text editor like Notepad and manually re-saving it with UTF-8 encoding selected before trying the import again.




