Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] RFC: new types for hfi->display (STR_ASCII, STR_UNICODE), dr

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Sun, 8 Dec 2013 21:15:16 +0100

2013/12/7 Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Hi,

I renamed base_display_e to field_display_e, and added new enums to field_display_e,
but I wonder if it's correct approach.

For FT_ABSOLUTE_TIME we're using seperate enum
(absolute_time_display_e), so maybe FT_STRING* should also have own enum string_display_e ?


Anyway, dissecotrs using proto_tree_add_unicode_string():
        packet-gsm_sms.c
        packet-etsi_card_app_toolkit.c
        packet-rrc.c
        packet-ptpip.c
        packet-lte-rrc.c
        packet-gmr1_rr.c
        packet-ansi_637.c

Should probably change it back to proto_tree_add_item/ proto_tree_add_string and start using STR_UNICODE display.
If you need some extra flag like: STR_UNICODE_DONT_ESCAPE than go on.

Hi Jakub,

I changed them in r53867, updated README.dissector a bit in r53868 and removed proto_tree_add_unicode_string() in r53869.

Regards,
Pascal.