akof1314 / CoolFormat

CoolFormat Source Code Formatter
http://blog.csdn.net/akof1314/article/details/5355948
539 stars 147 forks source link

This ANSI plugin is not compatible with your Unicode Notepad++ #27

Closed yinkaisheng closed 8 years ago

yinkaisheng commented 8 years ago

我使用的是Notepad++6.9.1版本

把工程所有项目属性都修改为了 使用 Unicode 字符集 编译后把CoolFormatLib.dll,CoolFormatNppPlugin.dll 放到Notepad++ plugins目录 运行Notepad++,提示 This ANSI plugin is not compatible with your Unicode Notepad++

从https://sourceforge.net/projects/coolformat/files/Plugins/NPP/ 下载1.1版本 使用这个报同样错误。

我检查了所有项目,都是Unicode属性,不知为什么编译出来的dll会被Notepad++认为是Ansi的。

yinkaisheng commented 8 years ago

晕,看了代码才知道CoolFormat.exe和CoolFormatLib.dll要放到这个目录 Notepad++\plugins\CoolFormatLib\cf_windows_x32\CoolFormat.exe Notepad++\plugins\CoolFormatLib\cf_windows_x32\CoolFormatLib.dll

不报这个错误了