mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
来源:互联网 发布:memcache php 编辑:程序博客网 时间:2024/04/28 06:12
mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
Submitted by shqzzy on 2008, November 6, 12:33 AM. 技术文章
utf8_general_ci 不区分大小写,这个你在注册用户名和邮箱的时候就要使用。
utf8_general_cs 区分大小写,如果用户名和邮箱用这个 就会照成不良后果
utf8_bin: compare strings by the binary value of each character in the string 将字符串每个字符串用二进制数据编译存储。 区分大小写,而且可以存二进制的内容
举例说明:
如果你的Sql查询语句: where first_name="Bob"
下面哪些字段内容会返回匹配:
'Bob' : utf8_bin, utf8_general_ci and utf8_general_cs
'B?b' : utf8_general_ci and utf8_general_cs 将?转为o
'B?B' : utf8_general_ci 不区分大小写
- mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
- mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
- mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
- mysql中utf8_bin、utf8_general_ci、utf8_general_cs编码区别
- mysql中utf8_bin、utf8_general_ci、utf8_general_cs编码区别
- mysql中utf8_bin、utf8_general_ci、utf8_general_cs编码区别
- mysql中utf8_bin、utf8_general_ci、utf8_general_cs编码区别
- mysql中utf8_general_cs和utf8_general_ci和utf8_bin的一点区别
- mysql中utf8_general_cs和utf8_general_ci和utf8_bin的一点区别
- mysql utf8_bin、utf8_general_ci、utf8_general_cs
- mysql 中 utf8_bin跟utf8_general_ci的区别
- mysql中utf8_bin、utf8_unicode_ci、utf8_general_ci编码区别
- mysql utf8_general_ci和utf8_bin的区别
- mysql utf8_general_ci和 utf8_bin 的区别
- utf8_bin跟utf8_general_ci的区别
- utf8_bin跟utf8_general_ci的区别
- utf8_bin跟utf8_general_ci的区别
- utf8_bin跟utf8_general_ci的区别
- Android AppWidgets的原理和应用
- 程序员 如何成为一名专家
- 求注册机
- 系统调度摘机
- 怎样把输入的文本转换成html代码存入数据库啊
- mysql中utf8编码的utf8_bin,utf8_general_cs,utf8_bin的区别
- android的包管理
- Question 11: Which of the following statements describe the result when standard new cannot allocate the requested storage in C+
- Linux权限管理攻略
- WinCE下 获取本地路径
- android系统自带的Service原理与使用
- 一个神奇的ext grid错误 行36 字符1 对象不支持此方法
- Linux中的打包与压缩命令 --- tar
- iOS - 使用ZoomingViewController来放大UIView至全屏