In my excel file, the Japanese character is shown correctly,
while when I export it as csv,
the character become question marks
How should I output so that the character can be shown correctly?
-
What OS are you on? Have you tried using unicode? check here– RaystafarianCommented Jan 29, 2015 at 18:19
4 Answers
You need to save the Excel spreadsheet as a Unicode Text file and then open the text file in Notepad and replace all tab characters with a comma.
In Excel, click the Office button in the top, left-hand corner, and then click Save As...
Choose a file name and select Unicode Text from the Save as type drop-down box.
Open the file you just saved in Notepad
Under the Edit menu, select Replace... (or press Ctrl+H)
In the Find what: field, paste a Tab character.
In the Replace with: field, enter a comma.
Click Replace All and then save the text file.
The point is, you need to save the file as UTF-8 and NOT as ASCII. Try this:
- (1) Open an Excel file where you have the info (.xls, .xlsx)
- (2) In Excel, choose "CSV (Comma Delimited) (*.csv) as the file type and save as that type.
- (3) In NOTEPAD (found under "Programs" and then Accessories in Start menu), open the saved .csv file in Notepad
- (4) Then choose -> Save As..and at the bottom of the "save as" box, there is a select box labelled as "Encoding". Select UTF-8 (do NOT use ANSI or you lose all accents etc). After selecting UTF-8, then save the file to a slightly different file name from the original.
- Download and install Unicode CSV Addin for excel.
- Save the csv from the new "Unicode CSV" menu as shown in picture below.
How about going to https://outlook.office.com/mail/ Click on the Contacts folder. At the top right, click Manage Contact, Import Contact?
-
1Welcome to Super User! Before answering an old question having an accepted answer (look for green ✓) as well as other answers ensure your answer adds something new or is otherwise helpful in relation to them. Here is a guide on How to Answer. There is also a site tour and a help center. Commented Jan 6, 2023 at 9:10