with below _vimrc settings, code uploaded to GitHub will display with proper encoding set encoding=utf-8 set fileencodings=utf-8,chinese,latin-1 if has("win32") set fileencoding=chinese else set fileencoding=utf-8 endif 如果还是乱码需要设置 fileencoding=u…
vim.gvim 在 windows 下中文乱码的终极解决方案 vim ~/.vimrc 然后加入: " Gvim中文菜单乱码解决方案 " 设置文件编码格式 set encoding=utf-8 set fileencodings=utf-8,chinese,latin-1,gbk,gb18030,gk2312 if has("win32") set fileencoding=chinese else set fileencoding=utf-8 endif &qu…
在IOS中,经常需要上传文件到github.以桌面上的一个文件夹为例: 步骤1: cd 到该文件夹下,建立POD文件. $ cd /Users/andy/Desktop/openinstallSDK ls OpenInstallSDK.h libOpenInstallSDK.a 建立podspec文件: pod spec create openinstallSDK 查看文件: vim openinstallSDK.podspec 复制命令,然后在终端输出: 然后在GitHub这个地址中,发现多了…