发送post时,设置了utf 8,中文还是乱码? 我们用HttpUrlConnection或HttpClient发送了post请求,其中有中文,虽然我们两边都设置了utf 8,但还是乱码? 我们在request和response端应该设置了如下 : 但是对于中文,我们还要进行url编码和解码 虽然这 ...
                            
                            
                                分类:
其他好文   时间:
2019-08-21 18:57:11   
                                阅读次数:
127
                             
                    
                        
                            
                            
                                Given a string s that consists of only uppercase English letters, you can perform at most k operations on that string. In one operation, you can choos ...
                            
                            
                                分类:
其他好文   时间:
2019-08-21 13:39:34   
                                阅读次数:
95
                             
                    
                        
                            
                            
                                先感谢@杜家利大神,看了你的指导才学会的部署,多谢!! 这两天尝试下怎么部署zabbix4.2(其实就知道zabbix4.2),由于我对linux经验为0,所以从部署角度上,有很大的阻碍。过程中遇到了很多问题,以下会把遇到的问题跟大家分享下,废话不多,开始上内容。(为什么这么配置,别问我,我也是小白 ...
                            
                            
                                分类:
其他好文   时间:
2019-08-21 11:29:11   
                                阅读次数:
71
                             
                    
                        
                            
                            
                                链接:http://codeforces.com/contest/540/problem/C You play a computer game. Your character stands on some level of a multilevel ice cave. In order to mov ...
                            
                            
                                分类:
其他好文   时间:
2019-08-21 11:11:28   
                                阅读次数:
121
                             
                    
                        
                            
                            
                                    1.基本数据类型篇 Java中的基本数据类型只有8个:byte、short、int、long、float、double、char、boolean。 包装类型(wrapper class):Boolean,Character,Byte,Short,Integer,Long,Float,Double 占 ...
                            
                            
                                分类:
编程语言   时间:
2019-08-21 00:30:29   
                                阅读次数:
119
                             
                    
                        
                            
                            
                                    StringBuffer A thread-safe, mutable sequence of characters. A string buffer is like a String, but can be modified. At any point in time it contains so ...
                            
                            
                                分类:
编程语言   时间:
2019-08-20 20:32:06   
                                阅读次数:
109
                             
                    
                        
                            
                            
                                    2018 2019, ICPC, Asia Yokohama Regional Contest 2018 "A Digits Are Not Just Characters" 签到。 "B Arithmetic Progressions" 题意:从给定的集合中选出最多的数构成等差数列。 题解:数字排 ...
                            
                            
                                分类:
其他好文   时间:
2019-08-19 20:43:50   
                                阅读次数:
305
                             
                    
                        
                            
                            
                                #!/bin/bash # Telnet Batach readonly TMOUT=3 ip_prefix="192.168" ip_network_range="80-80" ip_network_host_range="1-254" port_range="445-445" ports="13... ...
                            
                            
                                分类:
系统相关   时间:
2019-08-19 10:07:18   
                                阅读次数:
324
                             
                    
                        
                            
                            
                                1、下载MySQL解压版 地址: 2、解压安装包 3、配置环境变量 Path = bin目录路径 4、在安装目录下创建my.ini文件 内容如下: [mysqld] port = 3306 basedir=D:/mysql/mysql-5.7.27-winx64 datadir=D:/mysql/m ...
                            
                            
                                分类:
数据库   时间:
2019-08-18 13:46:56   
                                阅读次数:
104
                             
                    
                        
                            
                            
                                常用语句 1、创建JDStore数据库 1个用户可以有多个数据库database/schema create schema JDStore default character set utf8; 2、导出远程数据库数据: mysql -h111.1.111.11 -udy_dev -pdy_dev  ...
                            
                            
                                分类:
数据库   时间:
2019-08-17 23:47:12   
                                阅读次数:
153