ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] non-ASCII characters

From: Andreas <AndreasSander1@xxxxxxx>
Date: Wed, 19 Jan 2011 21:14:01 +0100
I write a dissector for a protocol that transport measurement values for pressure and temperature and so on. I would like to display the values with proto_tree_add_float() with the correct unit. But the ï¿œC symbol as well as ï¿œA is not displayed correctly.

Is there a way display this character set specific characters in Wireshark? How should I encode these characters that the GTK UI displays the nice "ï¿œC" so that I can avoid "degrees centigrade"?

I don't need to care for portability since I only write a dissector DLL for the Windows operating system.

Regards,
Helge