删除文件夹及其下全部文件
rm -rf ebay/html
-------------------------------------------------------------------------------------json
https://blog.csdn.net/qingfengxulai/article/details/80855005eclipse
有时咱们常常碰到某目录下文件名乱码的状况,convmv能够批量转换文件名编码。编码
使用
yum install convmv -y
#把文件名从utf8转换为gbk
convmv -f UTF-8 -t GBK -r --notest *
说明:-r 表示包含全部子目录,而且连带目录一块儿转换。不加–notest,表示只打印转换结果,不作实际转换。.net
------------------------------------------------------------------------------------htm
https://blog.csdn.net/qq_28863045/article/details/79503945blog
String s_iso88591 = new String("ö".getBytes("UTF-8"),"ISO8859-1");
String s_utf8 = new String(s_iso88591.getBytes("ISO8859-1"),"UTF-8");ip
------------------------------------------------------------------------------------字符串
https://blog.csdn.net/zhouxukun123/article/details/79438560get
解析json字符串时,报以下错误:
com.alibaba.fastjson.JSONException: unclosed string : 米
该问题是由于json字符串中含有“\”致使的,如:
{"mc":"***\米***"}
其余字符的这种报错缘由相似。
解决方法
去掉json字符串中的“\”:
str = str.replaceAll("\\\\米", "米");
------------------------------------------------------------------------------------
https://www.cnblogs.com/saneri/p/5779119.html
第一种:
[root@Testa-www tmp]# echo $LANG
zh_CN.UTF-8
第二种:
[root@Testa-www ~]# env |grep LANG
LANG=zh_CN.UTF-8
第三种:
[root@Testa-www ~]# export |grep LANG
declare -x LANG="zh_CN.UTF-8"
------------------------------------------------------------------------------------
https://blog.csdn.net/lynn_Kun/article/details/73740400
eclipse提交代码至GitHub