> For the complete documentation index, see [llms.txt](https://newsleopard.gitbook.io/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newsleopard.gitbook.io/help-center/features/lists/16.md).

# CSV 編碼錯誤｜轉檔教學（如何轉成 UTF-8 或 BIG5）

當你上傳 CSV 時，如果看到錯誤訊息 **「檔案編碼錯誤，請重新轉檔再上傳」**，代表你的檔案不是系統支援的 UTF-8 或 BIG5 編碼。本教學會帶你快速完成轉檔。

***

## 為什麼會出現「檔案編碼錯誤」？

系統會依序檢查：

1. 是否為 **UTF-8**
2. 若不是，再檢查是否為 **BIG5**

➡ 若兩者都不符合，就會顯示編碼錯誤。

造成此錯誤的常見原因：

* Excel 匯出的檔案是 **ANSI / CP950 / 其他區域性編碼**
* Mac Excel 匯出非 UTF-8
* 檔案內含特殊字元或 emoji 而 BIG5 無法支援
* CSV 來源系統不是 UTF-8（例如某些 POS／ERP 平台）

## 最推薦方法（100% 成功）：使用 Google Sheets 匯出 UTF-8

Google Sheets 匯出的 CSV **一定是 UTF-8**，幾乎不會出錯。

**步驟：**

1. 開啟 Google 雲端硬碟 → 上傳你的 CSV
2. 在 Google Sheets 中開啟檔案
3. 點選：**檔案 → 下載 → CSV（UTF-8）**

下載後的檔案即可重新上傳至系統。

💡 *若你希望最快解決問題，推薦總是使用這種方法。*

## Windows 使用者：如何用 Excel 匯出 UTF-8

請務必選擇正確的另存格式：

### **檔案 → 另存新檔 → CSV UTF-8（逗號分隔）（\*.csv）**

注意：

* Excel 預設的「CSV（逗號分隔）」不是 UTF-8，會造成編碼錯誤。
* 若資料欄位內含 emoji，請務必使用 UTF-8（BIG5 不支援）。

***

## Mac 使用者：如何匯出 UTF-8（Excel 常見失敗）

Mac Excel 匯出的 CSV 多數不是 UTF-8，因此建議使用以下方法之一：

### **方法 A（最推薦）：使用 Numbers 匯出**

1. 用 Numbers 開啟 CSV
2. 點選：**檔案 → 匯出至 → CSV**
3. 直接下載即可（Numbers 匯出的 CSV 預設為 UTF-8）

### **方法 B：使用 Google Sheets**

步驟同上（100% UTF-8）

### **方法 C：用純文字工具重新另存為 UTF-8**

若你需要使用 Excel 編輯，可用以下方式轉碼：

1. 在 Excel 編輯後，另存為 CSV
2. 用 **TextEdit** 開啟
3. 點選：檔案 → 另存新檔
4. 選擇「Unicode（UTF-8）」

這樣的 CSV 才會是正確的 UTF-8。

## 遇到特殊字元（emoji、符號）該怎麼辦？

* **UTF-8 完全支援** emoji、特殊符號、多國語言字元
* **BIG5 不支援 emoji**，含 emoji 的檔案若使用 BIG5 會整份匯入失敗
* 若你的檔案有：😊💛⭐️⚡️等字元 → **請務必轉成 UTF-8**

## 常見錯誤情境與解決方式

| 狀況                     | 可能原因               | 解法                         |
| ---------------------- | ------------------ | -------------------------- |
| 上傳 Excel 匯出的 CSV 失敗    | 匯出成 ANSI           | 選擇「CSV UTF-8（逗號分隔）」        |
| Mac Excel 匯出失敗         | Mac Excel 不是 UTF-8 | 改用 Numbers 或 Google Sheets |
| CSV 來源是外部系統（ERP / POS） | 來源編碼不是 UTF-8/BIG5  | 上傳到 Google Sheets 後重新匯出    |
| 檔案內含 emoji             | BIG5 不支援           | 使用 UTF-8 匯出                |
| 同樣的檔案有時可以、有時不行         | 檔案被 Excel 自動轉碼     | 改用 Google Sheets 匯出最穩定     |

## 最後建議

* **最安全的匯出方式：Google Sheets（CSV UTF-8）**
* **若用 Excel：請務必確認格式為「CSV UTF-8」**
* **若有 emoji：只能使用 UTF-8**

若依照本教學轉檔後仍然無法上傳，請將你的 CSV 範例提供給客服協助排查。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newsleopard.gitbook.io/help-center/features/lists/16.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
