报错原因:python 中 \N 是换行的意思。这里要把 N 前面的 \ 转义一下。用 \\ 代替即可。 ...
分类:
其他好文 时间:
2019-01-08 15:21:08
阅读次数:
1013
Linux系统上的文件类型:-:常规文件:即f:d:directory,目录文件;b:blockdevice,块设备文件,支持以“block”为单位进行随机访问;c:characterdevice,字符设备文件,支持以“character”为单位进行线性访问;majornumber:主设备号,用于标识设备类型,进而确定要加载的驱动程序;minornumber:次设备号,用于标识同一类型中的不同的设
分类:
其他好文 时间:
2019-01-07 22:46:23
阅读次数:
211
到后台mysql中查看是问号。 并不能显示出中文,初步判定是编码的问题。 我们利用 show variables like'character_set_%'; 与 show variables like'collation_%'; 该命令查看mysql编码格式是否为以下 Variable_name ...
分类:
数据库 时间:
2019-01-07 17:29:17
阅读次数:
252
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher ...
分类:
其他好文 时间:
2019-01-06 12:49:51
阅读次数:
147
UTF-16编码规则: 按照UTF-16编码规则计算下Unicode码位为 U+10002 (十进制:65538)的字符的UTF-16编码表示。 U+10002落在 [U+10000, U+10FFFF] 区间内。其UTF-16编码需要用四字节16位。 1、码位减去0x10000,0x10002 - ...
分类:
编程语言 时间:
2019-01-05 23:19:45
阅读次数:
251
public class SymbolMatch { public static boolean isMatch(String s){ //[{()}] ArrayStack<Character> arrayStack = new ArrayStack<Character>(); for(int i ...
分类:
移动开发 时间:
2019-01-05 20:40:29
阅读次数:
184
新建一个库并设置编码create database 数据库名称 character set utf8 collate utf8_general_ci ;创建表:mysql> create table if not exists class( -> id int primary key auto_in ...
分类:
其他好文 时间:
2019-01-05 12:16:04
阅读次数:
204
# 导入
```
load data infile 'c:/test.csv' into table test [character set utf8]
fields terminated by ',' optionally enclosed by '"' escaped by '"' lines ... ...
分类:
数据库 时间:
2019-01-04 00:26:03
阅读次数:
216
具体来说,就是添加了些规则去限制HTTP头的规范性 参考这里 具体来说: org.apache.tomcat.util.http.parser.HttpParser#IS_NOT_REQUEST_TARGET[]中定义了一堆not request target 转换过来就是以下字符(对应10进制AS ...
分类:
其他好文 时间:
2019-01-03 23:08:23
阅读次数:
246
You're given strings J representing the types of stones that are jewels, and Srepresenting the stones you have. Each character in S is a type of stone ...
分类:
其他好文 时间:
2019-01-02 19:15:19
阅读次数:
161