设置 命令行 utf8,chcp 65001
。
https://jingyan.baidu.com/article/9c69d48fbd146713c9024e04.html 开机后磁盘占用高,是因为 windows 8.1 默认启用了 superfetch 服务。
这里要非常明确,搞不好就乱码了。
WritePrivateProfileString
,GetPrivateProfileString
,
If the file was created using Unicode characters,
the function writes Unicode characters to the file.
Otherwise, the function writes ANSI characters.
from D Profile 是一个 win32/64 CPU,memory 性能分析工具:https://github.com/xwlan/dprofiler D Profiler a lightweight, low overhead CPU Memory IO and Lock profiler for Windows x86/x64. Build in cmd.exe, run command as: msbuild dprofiler.sln