> For the complete documentation index, see [llms.txt](https://docs.postgresql.tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.postgresql.tw/19/server-administration/charset/multibyte/multibyte-charset-supported.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 23.3.1. 支援的字元集

## 23.3.1. 支援的字元集 [#](#multibyte-charset-supported) <a href="#multibyte-charset-supported" id="multibyte-charset-supported"></a>

[表 23.3](#charset-table) 顯示了 PostgreSQL 中可用的字元集。

### 表 23.3. PostgreSQL 字元集 [#](#charset-table) <a href="#charset-table" id="charset-table"></a>

| 名稱               | 說明                                | 語言                 | 伺服器？ | ICU？ | 位元組/​字元 | 別名                                            |
| ---------------- | --------------------------------- | ------------------ | ---- | ---- | ------- | --------------------------------------------- |
| `BIG5`           | Big Five                          | 正體中文               | 否    | 否    | 1–2     | `WIN950`, `Windows950`                        |
| `EUC_CN`         | Extended UNIX Code-CN             | 簡體中文               | 是    | 是    | 1–3     |                                               |
| `EUC_JP`         | Extended UNIX Code-JP             | 日文                 | 是    | 是    | 1–3     |                                               |
| `EUC_JIS_2004`   | Extended UNIX Code-JP, JIS X 0213 | 日文                 | 是    | 否    | 1–3     |                                               |
| `EUC_KR`         | Extended UNIX Code-KR             | 韓文                 | 是    | 是    | 1–3     |                                               |
| `EUC_TW`         | Extended UNIX Code-TW             | 正體中文、台灣話           | 是    | 是    | 1–4     |                                               |
| `GB18030`        | 國家標準                              | 中文                 | 否    | 否    | 1–4     |                                               |
| `GBK`            | 延伸國家標準                            | 簡體中文               | 否    | 否    | 1–2     | `WIN936`, `Windows936`                        |
| `ISO_8859_5`     | ISO 8859-5, ECMA 113              | 拉丁／西里爾             | 是    | 是    | 1       |                                               |
| `ISO_8859_6`     | ISO 8859-6, ECMA 114              | 拉丁／阿拉伯             | 是    | 是    | 1       |                                               |
| `ISO_8859_7`     | ISO 8859-7, ECMA 118              | 拉丁／希臘              | 是    | 是    | 1       |                                               |
| `ISO_8859_8`     | ISO 8859-8, ECMA 121              | 拉丁／希伯來             | 是    | 是    | 1       |                                               |
| `JOHAB`          | JOHAB                             | 韓文（諺文）             | 否    | 否    | 1–3     |                                               |
| `KOI8R`          | KOI8-R                            | 西里爾文（俄文）           | 是    | 是    | 1       | `KOI8`                                        |
| `KOI8U`          | KOI8-U                            | 西里爾文（烏克蘭文）         | 是    | 是    | 1       |                                               |
| `LATIN1`         | ISO 8859-1, ECMA 94               | 西歐                 | 是    | 是    | 1       | `ISO88591`                                    |
| `LATIN2`         | ISO 8859-2, ECMA 94               | 中歐                 | 是    | 是    | 1       | `ISO88592`                                    |
| `LATIN3`         | ISO 8859-3, ECMA 94               | 南歐                 | 是    | 是    | 1       | `ISO88593`                                    |
| `LATIN4`         | ISO 8859-4, ECMA 94               | 北歐                 | 是    | 是    | 1       | `ISO88594`                                    |
| `LATIN5`         | ISO 8859-9, ECMA 128              | 土耳其文               | 是    | 是    | 1       | `ISO88599`                                    |
| `LATIN6`         | ISO 8859-10, ECMA 144             | 北歐地區（Nordic）       | 是    | 是    | 1       | `ISO885910`                                   |
| `LATIN7`         | ISO 8859-13                       | 波羅的海               | 是    | 是    | 1       | `ISO885913`                                   |
| `LATIN8`         | ISO 8859-14                       | 凱爾特                | 是    | 是    | 1       | `ISO885914`                                   |
| `LATIN9`         | ISO 8859-15                       | LATIN1 加上歐元符號與重音符號 | 是    | 是    | 1       | `ISO885915`                                   |
| `LATIN10`        | ISO 8859-16, ASRO SR 14111        | 羅馬尼亞文              | 是    | 否    | 1       | `ISO885916`                                   |
| `MULE_INTERNAL`  | Mule 內部編碼                         | 多語言 Emacs          | 是    | 否    | 1–4     |                                               |
| `SJIS`           | Shift JIS                         | 日文                 | 否    | 否    | 1–2     | `Mskanji`, `ShiftJIS`, `WIN932`, `Windows932` |
| `SHIFT_JIS_2004` | Shift JIS，JIS X 0213              | 日文                 | 否    | 否    | 1–2     |                                               |
| `SQL_ASCII`      | 未指定（請參閱內文）                        | *任何*               | 是    | 否    | 1       |                                               |
| `UHC`            | 統一諺文編碼（Unified Hangul Code）       | 韓文                 | 否    | 否    | 1–2     | `WIN949`, `Windows949`                        |
| `UTF8`           | Unicode，8 位元                      | *全部*               | 是    | 是    | 1–4     | `Unicode`                                     |
| `WIN866`         | Windows CP866                     | 西里爾文               | 是    | 是    | 1       | `ALT`                                         |
| `WIN874`         | Windows CP874                     | 泰文                 | 是    | 否    | 1       |                                               |
| `WIN1250`        | Windows CP1250                    | 中歐                 | 是    | 是    | 1       |                                               |
| `WIN1251`        | Windows CP1251                    | 西里爾文               | 是    | 是    | 1       | `WIN`                                         |
| `WIN1252`        | Windows CP1252                    | 西歐                 | 是    | 是    | 1       |                                               |
| `WIN1253`        | Windows CP1253                    | 希臘文                | 是    | 是    | 1       |                                               |
| `WIN1254`        | Windows CP1254                    | 土耳其文               | 是    | 是    | 1       |                                               |
| `WIN1255`        | Windows CP1255                    | 希伯來文               | 是    | 是    | 1       |                                               |
| `WIN1256`        | Windows CP1256                    | 阿拉伯文               | 是    | 是    | 1       |                                               |
| `WIN1257`        | Windows CP1257                    | 波羅的海               | 是    | 是    | 1       |                                               |
| `WIN1258`        | Windows CP1258                    | 越南文                | 是    | 是    | 1       | `ABC`, `TCVN`, `TCVN5712`, `VSCII`            |

<br>

並非所有用戶端 API 都支援上述所列的所有字元集。舉例來說， PostgreSQL JDBC 驅動程式就不支援 `MULE_INTERNAL`、`LATIN6`、 `LATIN8` 及 `LATIN10`。

`SQL_ASCII` 設定的行為與其他設定 有相當大的不同。當伺服器字元集為 `SQL_ASCII` 時，伺服器會依照 ASCII 標準解讀 位元組值 0–127，而位元組值 128–255 則會被 視為未經解讀的字元。當設定為 `SQL_ASCII` 時， 不會進行任何編碼轉換。因此，與其說這個設定是在宣告 使用了某種特定編碼，不如說它是在宣告 對編碼一無所知。在大多數情況下，如果你要 處理任何非 ASCII 資料，使用 `SQL_ASCII` 設定並非明智之舉，因為 PostgreSQL 將無法藉由 轉換或驗證非 ASCII 字元來提供協助。

[返回 23.3. 字元集支援](https://docs.postgresql.tw/19/server-administration/charset/multibyte.md#multibyte)

***

原文：[PostgreSQL 18.6 Documentation](https://www.postgresql.org/docs/18/multibyte.html)（原文版本：18.6；核對日期：2026-10-23）


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.postgresql.tw/19/server-administration/charset/multibyte/multibyte-charset-supported.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
