查看“MySQL中的character set和collation”的源代码
←
MySQL中的character set和collation
跳转至:
导航
,
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
==character set和collation的是什么== character set即字符集 我们常看到的UTF-8、GB2312、GB18030都是相互独立的character set。即对Unicode的一套编码。 collation即比对方法 用于指定数据集如何排序,以及字符串的比对规则。 每个character set会对应一定数量的collation。查看方法是在MySQL的Console下输入: MariaDB [mxshop]> show collation like 'utf8%'; <nowiki>+--------------------------+---------+-----+---------+----------+---------+ | Collation | Charset | Id | Default | Compiled | Sortlen | +--------------------------+---------+-----+---------+----------+---------+ | utf8_general_ci | utf8 | 33 | Yes | Yes | 1 | | utf8_bin | utf8 | 83 | | Yes | 1 | | utf8_unicode_ci | utf8 | 192 | | Yes | 8 | | utf8_icelandic_ci | utf8 | 193 | | Yes | 8 | | utf8_latvian_ci | utf8 | 194 | | Yes | 8 | 。。。 。。。 +--------------------------+---------+-----+---------+----------+---------+ 47 rows in set (0.00 sec)</nowiki>
返回至
MySQL中的character set和collation
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息