IDA 在string窗口中显示中文字符串

时间:2022-08-13 08:07:52

打开ida61\cfg中的ida.cfg文件找到

// (cp866 version)
AsciiStringChars =
 "\r\n\a\v\b\t\x1B"
 " !\"#$%&'()*+,-./0123456789:;<=>?"
 "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
 "`abcdefghijklmnopqrstuvwxyz{|}~"
 "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"
 " ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿"
 "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß"
 "àáâãäåæçèéêëìíîï";

// (full version)
//AsciiStringChars =
//"\r\n\a\v\b\t\x1B"
//" !\"#$%&'()*+,-./0123456789:;<=>?"
//"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
//"`abcdefghijklmnopqrstuvwxyz{|}~"
//"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"
//" ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿"
//"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß"
//"àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ";

把// (cp866 version) 下面的 AsciiStringChars 注释掉, // (full version)下面的AsciiStringChars的注释取消掉

这样就可以在string 窗口中显示中文了