Help Center/ Migration Center/ FAQs/ Resource Discovery/ How Do I Convert the Encoding Format of a CSV File to UTF-8?
Updated on 2024-11-30 GMT+08:00

How Do I Convert the Encoding Format of a CSV File to UTF-8?

To import Alibaba Cloud servers to MgC, you must upload UTF-8 encoded CSV files with English table headers. This section describes how to change the encoding format of .csv files to UTF-8.

Method 1 (for Windows)

  1. Right-click the CSV file and choose Open with Notepad.
  2. In the upper left corner of the Notepad window, choose File > Save As. In the Save As dialog box, select UTF-8 from the Encoding drop-down list and click Save.

Method 2 (for Windows)

Use Notepad++ to convert the CSV file encoding format to UTF-8. Ensure that Notepad++ has been installed. If it has not been installed, download it from the official website and install it.

  1. Open Notepad++, drag the CSV file to the Notepad++ window, and press Ctrl+A to select all contents.
  2. On the Notepad++ menu bar, choose Encoding > Encode in UTF-8. Press Ctrl+S to save the file.

Method 3 (for Mac)

Use TextEdit to convert the CSV file encoding format to UTF-8.

  1. Open TextEdit on Mac.
  2. Choose File > Open in the upper left corner.
  3. Select the CSV file whose encoding format needs to be converted and select Unicode (UTF-8) for Encoding.
  4. Choose File > Save to convert the file encoding format to UTF-8.