Wireshark-commits: [Wireshark-commits] master e26e0b4: Add support for the ISO 646 "Basic code tabl
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e26e0b4de071caa9bbfbde61dcc682ab6ede099e
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
e26e0b4 by Guy Harris (guy@xxxxxxxxxxxx):
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@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 258a5f6 Add support for code pages 855 and 856 for FT_STRINGZ strings.
add e26e0b4 Add support for the ISO 646 "Basic code table" encoding.
Summary of changes:
debian/libwireshark0.symbols | 1 +
epan/charsets.c | 71 ++++++++++++++++++++++++++++++-----
epan/charsets.h | 88 ++++++++++++++++++++++++++++++++++++++++++++
epan/proto.h | 2 +
epan/tvbuff.c | 44 ++++++++++++++++++++++
5 files changed, 197 insertions(+), 9 deletions(-)