Ask Your Question

Revision history [back]

Error: File "C:\Development\wireshark\tools\", line 78, in <module> 1> contents =

I am trying to add my own custom plugin which is written in C. Previously I had a lot of warning as "The file contains a character starting at offset 0x4982 that is illegal in the current source character set (codepage 65001)"

So I changed my file encoding type to UTF-8 in the editor.

Now after doing this I am getting error as

File "C:\Development\wireshark\tools\", line 78, in <module> contents = File "C:\Users\KS-Lab\AppData\Local\Programs\Python\Python37\lib\encodings\", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 31746: character maps to <undefined> 130>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" e xited with code 1. [C:\Development\wsbuild32\plugins\epan\homematic\homematic.vcxproj]