Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update latin1 as an alias for utf8mb4 #9522

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion basic-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ aliases: ['/docs-cn/dev/basic-features/']
| [`SET CONFIG`](/dynamic-config.md) | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 |
| [DM WebUI](/dm/dm-webui-guide.md) | 实验特性 | N | N | N | N | N | N |

[^1]: TiDB 误将 latin1 处理为 utf8 的子集。见 [TiDB #18955](https://github.com/pingcap/tidb/issues/18955)。
[^1]: 由于历史原因,TiDB latin1 视为 utf8mb4 的别名。见 [TiDB #34008](https://github.com/pingcap/tidb/issues/34008)。

[^2]: TiDB 支持的完整 SQL 列表,见[语句参考](/sql-statements/sql-statement-select.md)。

Expand Down
2 changes: 1 addition & 1 deletion character-set-and-collation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ mysql> show collation;

> **警告:**
>
> TiDB 会错误地将 `latin1` 视为 `utf8` 的子集。当用户存储不同于 `latin1` 和 `utf8` 编码的字符时,可能会导致意外情况出现。因此强烈建议使用 `utf8mb4` 字符集。详情参阅 [TiDB #18955](https://github.com/pingcap/tidb/issues/18955)。
> TiDB `latin1` 视为 `utf8mb4` 的别名,当用户存储不同于 `latin1` 和 `utf8mb4` 编码的字符时,可能会导致意外情况出现。因此强烈建议使用 `utf8mb4` 字符集。详情参阅 [TiDB #34008](https://github.com/pingcap/tidb/pull/34008)。

> **注意:**
>
Expand Down