PortSwigger/burp-extensions-montoya-api

MontoyaApi does not support displaying Chinese.

virtualmx opened this issue · 3 comments

version: v2023.1.2 pro
api.logging().logToOutput("你好世界 Hello World");

微信截图_20230212212610

Hi.
If you go to "Settings > Search > Character sets", do you have the option set to "Recognise automatically based on message headers"?

It looks like that output is on the popup that appears when you load an extension. If you look at the output in the "Extensions > Installed" tab, does it have the correct output?

"Recognise automatically based on message headers" is set;
微信截图_20230214163510
微信截图_20230214163626

Thanks for that screenshot! It looks like this is displaying correctly in the main Burp panel, and the popup output is displaying the data as raw bytes.

We've raised a bug report to make sure that both of these outputs are consistent. In the meantime, it would be best to use the output panel within Burp, rather than the popup panel.