刪除文件夾及其下全部文件
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