diff options
author | João Valverde <j@v6e.pt> | 2021-11-30 02:53:49 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-12-03 04:35:56 +0000 |
commit | 19dcb725b61e384f665ad4b955f3b78f63e626d9 (patch) | |
tree | 57befb0e933a566cefc32447df49397189939d75 /epan/dissectors/asn1/sabp/packet-sabp-template.c | |
parent | 7e99bbf32b73f3dd09c0ee6c1d3ac02a7e988f61 (diff) |
epan: Remove STR_ASCII and STR_UNICODE
These display bases work to replace unprintable characters so the
name is a misnomer. In addition they are the same option and this
display behaviour is not something that is configurable.
This does not affect encodings because all our internal text strings
need to be valid UTF-8 and the source encoding is specified using
ENC_*.
Remove the assertion for valid UTF-8 in proto.c because
tvb_get_*_string() must return a valid UTF-8 string, always, and we
don't need to assert that, it is expensive.
Diffstat (limited to 'epan/dissectors/asn1/sabp/packet-sabp-template.c')
-rw-r--r-- | epan/dissectors/asn1/sabp/packet-sabp-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/sabp/packet-sabp-template.c b/epan/dissectors/asn1/sabp/packet-sabp-template.c index 2f10494a7f..ada1db7b27 100644 --- a/epan/dissectors/asn1/sabp/packet-sabp-template.c +++ b/epan/dissectors/asn1/sabp/packet-sabp-template.c @@ -228,7 +228,7 @@ void proto_register_sabp(void) { NULL, HFILL }}, { &hf_sabp_cbs_page_content, { "CBS Page Content", "sabp.cb_page_content", - FT_STRING, STR_UNICODE, NULL, 0, + FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_sabp_cb_inf_len, { "CBS-Message-Information-Length", "sabp.cb_inf_len", |