注意修改 localRepository <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001 ...
分类:
其他好文 时间:
2021-03-16 11:54:14
阅读次数:
0
告诉mysql客户端这边的文字编码 告诉mysql希望返回的结果集编码; set character_set_client=gbk; set character_set_results=gbk; 查看最大上传文件大小 show global variables like 'max_allowed_p ...
分类:
数据库 时间:
2021-03-16 11:52:41
阅读次数:
0
打开settings->Editor->File Encodings,设置Global Encoding和Project Encoding还有Default encoding for properties Files为UTF-8 找到idea安装目录下bin文件夹下的idea.exe.vmoptio ...
分类:
其他好文 时间:
2021-03-15 11:34:17
阅读次数:
0
文件备份与重命名 # 2种方式打开文件、备份文件、 import os # 打开文件 class FileOpen: @staticmethod def file_open1(file): fp = open(file, "w+", encoding="utf-8") # 无需flush,因为clo ...
分类:
其他好文 时间:
2021-03-15 10:54:22
阅读次数:
0
出现题目的异常,多是引用第三方控件引起的。 在NEW时,需要初始化该对象。 AxESACTIVEXLib.AxESActiveX ax = new AxESACTIVEXLib.AxESActiveX(); ((System.ComponentModel.ISupportInitialize)(th ...
水平虚线 shape: line-horizontal.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape ...
分类:
移动开发 时间:
2021-03-09 13:55:09
阅读次数:
0
# open(r'e:\user\niuhanyang\xxxx\a.txt',)#原字符 操作文件 加r会读出来 f = open('a.txt','a+',encoding='utf-8') #三种模式 有中文要加上utf-8 读一共三种方式 r模式只能读不能写 只读模式 f = open('a ...
分类:
编程语言 时间:
2021-03-09 13:38:00
阅读次数:
0
###需要使用的语句 set character_set_client=gbk; set character_set_connection=gbk; set character_set_database=gbk; set character_set_results=gbk; set characte ...
分类:
数据库 时间:
2021-03-09 13:37:35
阅读次数:
0
一、返回值分类 1.字符串 2.void 3.ModelAndView 二、转发和重定向 1.forward转发 2.Redirect重定向 三、ResponseBody响应json数据 需要在pom.xml中添加如下代码: <?xml version="1.0" encoding="UTF-8"? ...
分类:
编程语言 时间:
2021-03-09 12:58:55
阅读次数:
0
在python文件开头加上以下一段代码,即可解决中文编码问题,屡试不爽 # encoding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8') ...
分类:
编程语言 时间:
2021-03-08 14:23:06
阅读次数:
0