This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
本HTML文档由胡佳伦(隋卞)编写。 | |
脚本部分在GNU Affero通用公共许可协议版本3下公开, | |
其余部分在知识共享署名—相同方式共享4.0公共许可协议国际版下公开。 | |
This HTML document is authored by Hu Jialun (SuibianP). | |
Scripts are licensed under GNU Affero General Public License version 3, | |
while other contents are distributed under Creative Commons Attribution-ShareAlike 4.0 International Public License. | |
--> | |
<html lang="zh-cmn-Hans-CN"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim "+bufdo edit ++enc=shift-jis | set fileencoding=utf8 | w" "+qa" $(find . -path ./.git -prune -o -type f -print) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in ./* | |
do | |
mv $f `echo $f | iconv -f UTF-8 -t GBK | iconv -f shift-jis -t UTF-8` | |
done |