Chinese displays as '?'

BenTam 1,621 Reputation points
2023-01-10T04:36:23.53+00:00

Dear All,

When I export data from VFP9 to a text file with the following command

copy to _trainer.xls delimited with tab

My region setting of my Windows is as follows: 277746-windowsregion.gif

If I open the file (_trainer.xls) in Notepad, the Chinese characters appear normal. 277685-notepadchinesedisplay.gif

However, when I double-click the file (_trainer.xls) to open it in Excel, the Chinese characters appear as "?". 277616-chinesedisplay.gif

May I know how to show the Chinese in Excel?

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,682 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,689 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,591 Reputation points
    2023-01-10T09:45:25.55+00:00

    Hi @BenTam

    Did you install traditional Chinese language package for your Office?

    >> If I open the file (_trainer.xls) in Notepad, the Chinese characters appear normal.

    If _trainer.xls can be opened via Notepad correctly, please press Control + S to save it directly, and reopen it via Excel to check this issue.

    If the step above does not work, please click Save As in Notepad to save _trainer.xls as new files, you can try 2 encoding format: UTF-8 and UTF-8 with BOM, then open these files via Excel to have a check. 277827-capture9.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful