gpt4 book ai didi

character-encoding - 什么是二进制字符集?

转载 作者:行者123 更新时间:2023-12-03 16:46:13 25 4
gpt4 key购买 nike

我想知道什么是二进制字符集,它与 ISO/IEC 8859-1 aka Latin-1 字符集有什么区别?

最佳答案

MySQL 文档中有一个关于 The _bin and binary Collations 的页面.

Nonbinary strings (as stored in the CHAR, VARCHAR, and TEXT data types) have a character set and collation. A given character set can have several collations, each of which defines a particular sorting and comparison order for the characters in the set. One of these is the binary collation for the character set, indicated by a _bin suffix in the collation name. For example, latin1 and utf8 have binary collations named latin1_bin and utf8_bin.

Binary strings (as stored in the BINARY, VARBINARY, and BLOB data types) have no character set or collation in the sense that nonbinary strings do. (Applied to a binary string, the CHARSET() and COLLATION() functions both return a value of binary.) Binary strings are sequences of bytes and the numeric values of those bytes determine sort order.


等等。也许更有意义?如果没有,我建议您在文档中进一步查看有关这些内容的描述。如果是概念,就应该解释一下。通常是:)

关于character-encoding - 什么是二进制字符集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2996810/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com