{"action":"created","issue":{"url":"https://api.github.com/repos/racaljk/hosts/issues/234","repository_url":"https://api.github.com/repos/racaljk/hosts","labels_url":"https://api.github.com/repos/racaljk/hosts/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/racaljk/hosts/issues/234/comments","events_url":"https://api.github.com/repos/racaljk/hosts/issues/234/events","html_url":"https://github.com/racaljk/hosts/issues/234","id":134740380,"number":234,"title":"HostsGeter.bat的编码问题似乎没有得到解决...","user":{"login":"lizongzeshunshun","id":10304206,"avatar_url":"https://avatars.githubusercontent.com/u/10304206?v=3","gravatar_id":"","url":"https://api.github.com/users/lizongzeshunshun","html_url":"https://github.com/lizongzeshunshun","followers_url":"https://api.github.com/users/lizongzeshunshun/followers","following_url":"https://api.github.com/users/lizongzeshunshun/following{/other_user}","gists_url":"https://api.github.com/users/lizongzeshunshun/gists{/gist_id}","starred_url":"https://api.github.com/users/lizongzeshunshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizongzeshunshun/subscriptions","organizations_url":"https://api.github.com/users/lizongzeshunshun/orgs","repos_url":"https://api.github.com/users/lizongzeshunshun/repos","events_url":"https://api.github.com/users/lizongzeshunshun/events{/privacy}","received_events_url":"https://api.github.com/users/lizongzeshunshun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-19T00:43:42Z","updated_at":"2016-02-19T06:04:27Z","closed_at":null,"body":"刚刚试了一下windows下的自动更新bat: _hosts/hosts_tools/scripts/script_tool_for_windows.bat_\r\n\r\n我使用了3种方式下载，结果分别如下：\r\n\r\n1.Github网页的Download Zip\r\n\r\n> E:\\TV\\hosts-master\\hosts-master\\hosts_tools\\scripts>script_tool_for_windows.bat\r\n'verterPath' 不是内部或外部命令，也不是可运行的程序\r\n或批处理文件。\r\n命令语法不正确。\r\n\r\n这个错误很奇怪，貌似是源于.bat中的\r\n\r\n> echo inputpath=\"%~0\" >%Con**verterPath**%\r\necho outputpath=\"%ConverterOutput%\" >>%Con**verterPath**%\r\necho set stm2=createobject(\"ADODB.Stream\") >>%Con**verterPath**%\r\n\r\n下面还有许多这样的 \r\n\r\n> ****** >> %ConverterPath%\r\n\r\n\r\n2.在浏览器打开Github中的script_tool_for_windows.bat并且复制到本地改名为.bat\r\n\r\n结果：运行时中文全部变成“?????\"\r\n\r\n在我用Notepad++更改编码为UTF-8后，终于恢复正常\r\n\r\n3.使用git clone指令下载\r\n结果：和 1 的结果一样.\r\n\r\n\r\n\r\n说明：测试环境为Windows 10 正式版."},"comment":{"url":"https://api.github.com/repos/racaljk/hosts/issues/comments/186075736","html_url":"https://github.com/racaljk/hosts/issues/234#issuecomment-186075736","issue_url":"https://api.github.com/repos/racaljk/hosts/issues/234","id":186075736,"user":{"login":"lizongzeshunshun","id":10304206,"avatar_url":"https://avatars.githubusercontent.com/u/10304206?v=3","gravatar_id":"","url":"https://api.github.com/users/lizongzeshunshun","html_url":"https://github.com/lizongzeshunshun","followers_url":"https://api.github.com/users/lizongzeshunshun/followers","following_url":"https://api.github.com/users/lizongzeshunshun/following{/other_user}","gists_url":"https://api.github.com/users/lizongzeshunshun/gists{/gist_id}","starred_url":"https://api.github.com/users/lizongzeshunshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizongzeshunshun/subscriptions","organizations_url":"https://api.github.com/users/lizongzeshunshun/orgs","repos_url":"https://api.github.com/users/lizongzeshunshun/repos","events_url":"https://api.github.com/users/lizongzeshunshun/events{/privacy}","received_events_url":"https://api.github.com/users/lizongzeshunshun/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T06:04:27Z","updated_at":"2016-02-19T06:04:27Z","body":"@K-Guan ...这字体好漂亮，想问一下是什么字体，大小多少\r\n另外，下面这一栏是什么插件做到的\r\n![feeb838a-d702-11e5-8c77-732b682d1b21](https://cloud.githubusercontent.com/assets/10304206/13167788/782bcac6-d711-11e5-8b81-911a8932158e.png)\r\n\r\n在此先行谢过\r\n"}}