Wireshark-commits: [Wireshark-commits] master 4d47c9a: Fix handling of EBCDIC string fields.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 12 Dec 2016 05:50:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4d47c9a84144510a33747801cf4ef65f1b3da422
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4d47c9a by Guy Harris (guy@xxxxxxxxxxxx):

    Fix handling of EBCDIC string fields.
    
    Have a routine that takes a 256-element translation table and uses it to
    map various flavors of EBCDIC to Unicode.  Have separate translation
    tables for "common" EBCDIC (everything that's the same in all EBCDIC
    code pages that include the original EBCDIC characters) and EBCDIC code
    page 037.  Add ENC_EBCDIC_CP037 for code page 037.
    
    Change-Id: Ia882b3c0abef9e30eb54cd47396e6fa0d6342044
    Reviewed-on: https://code.wireshark.org/review/19212
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6bc6512   ssh: correct inaccurate field names/abbrevs/id variable names
    adds  4d47c9a   Fix handling of EBCDIC string fields.


Summary of changes:
 epan/charsets.c |  153 +++++++++++++++++++++++++++++++++++++++++--------------
 epan/charsets.h |    6 ++-
 epan/proto.h    |    1 +
 epan/tvbuff.c   |   46 ++++++++++++-----
 4 files changed, 155 insertions(+), 51 deletions(-)