On Aug 14, 2012, at 7:17 AM, [email protected] wrote:

> Would it be possible to make g_convert_with_iconv an ep_ or se_ type function

All the protocol string encodings we intend to handle should be given ENC_ 
values in epan/proto.h and given implementations in 
tvb_get_ephemeral_string_enc() and tvb_get_ephemeral_stringz_enc(), which would 
let you get a UTF-8 ep_ string based on a packet string with any of those 
encodings, and would let proto_tree_add_item() support all of those encodings.

Whether that's implemented *internally to tvb_get_ephemeral_string_enc() and 
tvb_get_ephemeral_stringz_enc()* with g_convert_to_iconv() or something else is 
another matter.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to