10 2015 档案

摘要:UTF-8 不需要 BOM,尽管 Unicode 标准允许在 UTF-8 中使用 BOM。所以不含 BOM 的 UTF-8 才是标准形式,在 UTF-8 文件中放置 BOM 主要是微软的习惯(顺便提一下:把带有 BOM 的小端序 UTF-16 称作「Unicode」而又不详细说明,这也是微软的习惯)... 阅读全文
posted @ 2015-10-31 23:35 禅意 阅读(2285) 评论(0) 推荐(0)
摘要://java读取文件/*String path = "D:/project/training/src/com/test1/test.txt";File file = new File(path);if(!file.exists() || file.isDirectory()) { System... 阅读全文
posted @ 2015-10-31 22:17 禅意 阅读(252) 评论(0) 推荐(0)
摘要:java输入模板:public class GameHelper { public String getUserInput(String prompt) { String inputLine = null; System.out.print(prompt + " "... 阅读全文
posted @ 2015-10-29 22:08 禅意 阅读(143) 评论(0) 推荐(0)
摘要:通过Cisco VPN Client 连接到VPN服务器的时候,客户端经常报错。Reason 442: Failed to Enable Virtual Adapter解决方法:“开始” – “运行” – “services.msc” – 停止 “Internet Connection Sharin... 阅读全文
posted @ 2015-10-28 23:22 禅意 阅读(58) 评论(0) 推荐(0)