This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

libxml2 in dessector - string encoding

0

Hi, I'm using libxml2 to read an xml-file (in utf-8) and set the tree-items in wireshark. My problem is that I only see unreadable text in wireshark. I used xmlNodeGetContent(node->xmlChildrenNode); to get the content and than proto_item_append_text(ti,ts); to set text text to a tree-item and I get something like ð§Derungsanhang What should I call to get a readable string?

asked 06 Feb '12, 05:28

Nic's gravatar image

Nic
14556
accept rate: 0%