create database Studio character set utf8;
分类:
数据库 时间:
2014-09-29 13:14:10
阅读次数:
173
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_...
分类:
数据库 时间:
2014-09-28 21:21:25
阅读次数:
140
MySQL上插入汉字时报错如下,具体见后面分析。
Incorrect string value: '\xD0\xC2\xC8A\xBEW' for column 'ctnr' at row 1
MySQL字符集相关参数:
character_set_server : 服务器字符集
collation_server : 服务器校对规则
character_se...
分类:
数据库 时间:
2014-09-28 20:08:25
阅读次数:
238
参考文档http://nlp.solutions.asia/?p=362http://blog.csdn.net/fby98710/article/details/10367175http://blog.csdn.net/itufo/article/details/21519593需要jdk1.7的环境1.MySql数据库配置lmy.ini配置分别在[client]、[mysql]下添加“default-character-set=utf8”;在[mysq..
分类:
数据库 时间:
2014-09-28 19:32:45
阅读次数:
306
1. Basic Regular Expression a. "^" matching the head of a line. "^" must be the first character in a regular expression ,else it only a common ch...
分类:
其他好文 时间:
2014-09-27 19:08:30
阅读次数:
160
getServletPath
java.lang.String getServletPath()
Returns the part of this request's URL that calls the servlet. This path starts with a "/" character and includes either the servlet name or a path t...
分类:
其他好文 时间:
2014-09-27 18:00:10
阅读次数:
403
1) ASCIIFormat:ASCII ( character_expression )Function:返回表达式最左端字符的ASCII值。eg:select ASCII('abcdef')goResult:2) CHAR:Format:CHAR ( integer_expression ),i...
分类:
数据库 时间:
2014-09-26 21:27:18
阅读次数:
386
1.关于MySQL字符集 MySQL的字符集支持(Character Set Support)有两个方面: 字符集(Character set)和排序方式(Collation)。 MySQL对于字符集的支持细化到四个层次: 服务器(server),数据库(database),数据表(table)和连...
分类:
数据库 时间:
2014-09-26 20:50:18
阅读次数:
243
MySQL数据库的默认编码是latin1,在Linux中,可以通过修改MySQL的配置文件my.cnf来设置这个默认编码。需要在my.cnf中加入如下代码:[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
default-character-set=utf8
collation-server=utf8_unico..
分类:
数据库 时间:
2014-09-26 01:15:58
阅读次数:
212
1. html通过jquery的ajax传递数据给php。encodeURI("my.php?name=博客园")2. php接受urldecode($_GET["name"]);3 .mysql5.6编码设置为utf8[mysqld]default-character-set=utf8ok!
分类:
数据库 时间:
2014-09-25 00:00:37
阅读次数:
287