org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound character ‘@’ that cannot start any token. <profile> <id>预发布环境</id ...
分类:
其他好文 时间:
2019-11-13 23:43:07
阅读次数:
92
在Python脚本中包含中文的时候,会遇到编码错误。例如: 出现SyntaxError: Non-ASCII character ‘\xe5’ in file 的错误。 解决办法:是因为编码有问题,所以在脚本的开始加入以下代码即可 ...
分类:
其他好文 时间:
2019-11-13 13:15:47
阅读次数:
57
1、下载tar包,这里使用wget从官网下载 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz 2、将mysql安装到/usr/local/mysql下# 解压 ...
分类:
数据库 时间:
2019-11-13 12:59:43
阅读次数:
149
前言: 我们知道,计算机是以二进制为单位的,也就是说计算机只识别0和1,也就是我们平时在电脑上看到的文字,只有先变成0和1,计算机才会识别它的意思。这种数据和二进制的转换规则就是编码。计算机的发展中,有ASCII码,GBK,Unicode,utf-8编码。我们先从编码的发展史了解一下编码的进化过程。 ...
分类:
编程语言 时间:
2019-11-13 00:52:15
阅读次数:
99
这是因为mysql字符集的原因。修改mysql的字符集。 mysql> alter database hive character set latin1; 参考博客:https://blog.csdn.net/qq_38723677/article/details/82668506 ...
分类:
其他好文 时间:
2019-11-12 19:54:18
阅读次数:
52
<!-- 监听器 --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name ...
分类:
编程语言 时间:
2019-11-12 09:31:47
阅读次数:
100
array sales{4} q1-q4; array sales{2:6} q2-q6; array sales{*} _numeric_; array sales{*} _character_; array sales{*} _all_; array fruit{*} apples pears ...
分类:
其他好文 时间:
2019-11-12 00:37:59
阅读次数:
104
This problem is different from the hard version. In this version Ujan makes exactly one exchange. You can hack this problem only if you solve both pro ...
分类:
其他好文 时间:
2019-11-10 12:09:35
阅读次数:
111
mysql从5.5.3版本开始,才支持4字节的utf8编码,编码名称为utf8mb4(mb4的意思是max bytes 4),这种编码方式最多用4个字节存储一个字符。 要想证明这个问题,可以执行以下sql: select * from information_schema.CHARACTER_SET ...
分类:
数据库 时间:
2019-11-10 11:57:46
阅读次数:
113
This problem is different from the easy version. In this version Ujan makes at most 2n2n swaps. In addition, k≤1000,n≤50k≤1000,n≤50 and it is necessar ...
分类:
其他好文 时间:
2019-11-10 11:49:24
阅读次数:
73