wireshark/epan
Guy Harris e26e0b4de0 Add support for the ISO 646 "Basic code table" encoding.
The "Basic code table" in ISO 646 is mostly ASCII, but some code points
either 1) have more than one glyph that can be assigned to them or 2)
have no glyph assigned to them.  National versions choose one of the two
glyphs for the code points in group 1) and assign specific glyphs to the
code points in group 2); the International Reference Version assigns the
same glyphs to those code points as does ASCII.

For the "Basic code table" encoding, we map the code points in groups 1)
and 2) to a REPLACEMENT CHARACTER; additional encodings can be added for
the national versions.

Add ENC_ISO_646_IRV (International Reference Version) as an alias for
ENC_ASCII.

Expand some comments, and add some comments, while we're at it.

Change-Id: I4f1b5e426ec193775e919731c5cae1224dc65115
Reviewed-on: https://code.wireshark.org/review/33941
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-07-15 07:50:30 +00:00
..
crypt dot11decrypt: fix a used-but-marked-unused warning 2019-05-26 19:04:36 +00:00
dfilter Include epan header files in VS solution. 2019-02-18 00:49:51 +00:00
dissectors s7comm: Adding and redesign of test and installation functions 2019-07-14 06:34:23 +00:00
ftypes Include epan header files in VS solution. 2019-02-18 00:49:51 +00:00
wmem Revert "Test: Disable a wmem compilation warning." 2019-04-20 06:06:14 +00:00
wslua wslua: add a Proto parameter to DissectorTable.new() 2019-06-16 02:39:18 +00:00
.editorconfig
CMakeLists.txt CMake: Add libpcap imported library target 2019-05-03 21:56:45 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c VLAN resolving: use existing file_exists() function 2019-05-27 10:43:14 +00:00
addr_resolv.h
address.h
address_types.c
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h Move the Linux ARPHRD_ types to epan/arptypes.h. 2018-11-13 06:18:22 +00:00
asn1.c asn1: replace DISSECTOR_ASSERT_NOT_REACHED with DISSECTOR_ASSERT. 2019-06-25 11:37:23 +00:00
asn1.h
ax25_pids.h
bridged_pids.h
capture_dissectors.c
capture_dissectors.h
charsets.c Add support for the ISO 646 "Basic code table" encoding. 2019-07-15 07:50:30 +00:00
charsets.h Add support for the ISO 646 "Basic code table" encoding. 2019-07-15 07:50:30 +00:00
chdlctypes.h
color_filters.c epan: remove return from functions returning void. 2019-01-04 05:07:58 +00:00
color_filters.h
column-info.h
column-utils.c column: set G_REGEX_RAW for the custom column filter 2019-02-10 16:12:59 +00:00
column-utils.h column-utils: replace TAB with SPACE in prototypes. 2019-01-29 21:49:02 +00:00
column.c column: set G_REGEX_RAW for the custom column filter 2019-02-10 16:12:59 +00:00
column.h
conv_id.h
conversation.c conversation.c: do not use wmem packet scope for debug strings 2019-06-05 10:29:13 +00:00
conversation.h
conversation_debug.h conversation.c: do not use wmem packet scope for debug strings 2019-06-05 10:29:13 +00:00
conversation_table.c
conversation_table.h
crc6-tvb.c CRC6: Fixed CRC lookup table and functions 2019-01-04 06:04:07 +00:00
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c register_decode_as_next_proto: remove the "title" parameter 2019-06-13 05:38:22 +00:00
decode_as.h doxygen: Try to fix warnings. 2019-07-10 16:49:37 +00:00
diam_dict.h
diam_dict.l diam_dict.l,wimaxasncp_dict.l: fix -Werror=stringop-truncation 2019-01-19 07:08:43 +00:00
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
dvb_chartbl.h
eap.h EAP: Passing additional context to allow for reassembly in vendor parser 2019-04-23 23:57:25 +00:00
eapol_keydes_types.h
epan.c Add brotli decompression support for HTTP and HTTP2 dissectors. 2019-04-22 15:24:46 +00:00
epan.h
epan_dissect.h
etypes.h CL3DCW: Added Dual Channel Wi-Fi Dissectors 2019-06-11 20:26:56 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h
exntest.c
expert.c epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
expert.h
export_object.c
export_object.h Limit the maximum *file* name length for exported objects. 2019-01-01 21:36:58 +00:00
exported_pdu.c
exported_pdu.h
filter_expressions.c
filter_expressions.h Doxygen: Fix some warnings. 2019-07-11 11:03:00 +00:00
follow.c Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
follow.h Support unsigned stream identifiers for Follow Stream 2019-03-02 08:29:01 +00:00
frame_data.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data.h Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.h
funnel.c funnel: Fix memleaks in funnel_remove_menu 2019-01-28 10:57:30 +00:00
funnel.h funnel: Fix memleaks in funnel_remove_menu 2019-01-28 10:57:30 +00:00
garrayfix.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h Fix some spelling errors found by Lintian. 2018-12-05 18:58:19 +00:00
ipv4.h
ipv6.h
lapd_sapi.h
llcsaps.h
maxmind_db.c maxmind_db: Work around an apparent GLib bug. 2019-03-04 18:35:41 +00:00
maxmind_db.h Re-implement "Map" feature for Endpoints 2019-02-16 21:11:12 +00:00
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c Test: Disable compilation warnings. 2019-04-02 18:58:28 +00:00
osi-utils.c
osi-utils.h
oui.h Add support decode extremeNetworks-avaya access point TLVs 2019-05-24 06:49:59 +00:00
packet.c Doxygen: Try to fix reported warnings. 2019-07-10 12:48:21 +00:00
packet.h Doxygen: Try to fix reported warnings. 2019-07-10 12:48:21 +00:00
packet_info.h
params.h
plugin_if.c
plugin_if.h
ppptypes.h
prefs-int.h Doxygen: Fix some warnings. 2019-07-11 11:03:00 +00:00
prefs.c Qt: Support setting custom preferences 2019-04-24 00:33:37 +00:00
prefs.h
print.c print: print booleans not integers in ek_write_field_value(). 2019-05-21 11:01:03 +00:00
print.h epan: use json_dumper for json outputs. 2019-01-03 14:33:48 +00:00
print.ps
print_stream.c Reset the terminal color if we're ^C'ed when reading a capture. 2019-04-04 18:53:32 +00:00
print_stream.h Only put generic values into the print_stream_t structure. 2019-04-01 01:41:56 +00:00
proto.c Remove the UTF-8 validation from proto_tree_add_string(). 2019-06-20 00:34:18 +00:00
proto.h Add support for the ISO 646 "Basic code table" encoding. 2019-07-15 07:50:30 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h
radius_dict.l
range.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
range.h
reassemble.c epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
reassemble.h
reassemble_test.c reassemble_test: Fix some compiler warnings. 2019-03-19 05:01:40 +00:00
reedsolomon.c
reedsolomon.h
register-int.h
register.c
register.h
req_resp_hdrs.c req_resp_hdrs: add initializer (CID: 1445004). 2019-05-10 20:08:06 +00:00
req_resp_hdrs.h HTTP: fix bad reassembly with Content-Type and no Content-Length 2019-05-08 01:54:41 +00:00
rtd_table.c
rtd_table.h
rtp_pt.h
sctpppids.h SCTP PPID Update 2019-03-19 20:52:10 +00:00
secrets.c secrets: add functions to query and validate pkcs11 tokens/key files 2019-01-29 23:33:51 +00:00
secrets.h Fix build without GnuTLS 2019-01-31 13:14:22 +00:00
sequence_analysis.c VOIP: Always use frame number when hashing sequence analysis. 2018-12-15 07:41:03 +00:00
sequence_analysis.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.h Netflow: Add decodes for Niagara Networks IPFIX information elements. 2019-07-08 11:40:44 +00:00
srt_table.c
srt_table.h
stat_groups.h
stat_tap_ui.c
stat_tap_ui.h
stats_tree.c stats_tree: use the right modifier for int values. 2019-01-23 08:01:35 +00:00
stats_tree.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stats_tree_priv.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stream.c
stream.h
strutil.c Fix format_uri(). 2019-05-21 08:30:12 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tap.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
tfs.c NAS-5GS: Dissect more IEs 2019-01-31 14:39:49 +00:00
tfs.h NAS-5GS: Dissect more IEs 2019-01-31 14:39:49 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c
to_str.h
tvbparse.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Add support for the ISO 646 "Basic code table" encoding. 2019-07-15 07:50:30 +00:00
tvbuff.h Add brotli decompression support for HTTP and HTTP2 dissectors. 2019-04-22 15:24:46 +00:00
tvbuff_base64.c
tvbuff_brotli.c Add brotli decompression support for HTTP and HTTP2 dissectors. 2019-04-22 15:24:46 +00:00
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat-int.h
uat.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat.h
uat_load.l
unit_strings.c
unit_strings.h
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h Fix the type of the packet data argument to get_xdlc_control(). 2018-09-30 21:28:18 +00:00