Wireshark-commits: [Wireshark-commits] master-2.6 e269273: *Always* pair ENC_UTF_16 and ENC_UCS_2 w

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 26 May 2019 18:44:26 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e2692730ba1010a20ef3ac54b41bb4c9b5efcd07
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

e269273 by Guy Harris (guy@xxxxxxxxxxxx):

    *Always* pair ENC_UTF_16 and ENC_UCS_2 with a byte order.
    
    Big-endian and little-endian UTF-16 and UCS-2 aren't the same; always
    associate them with a byte order ENC_ flag, to clarify what byte order
    is being used.  Yes, for big-endian, omitting the ENC_ flag, or using
    ENC_NA, *happens* to work, because ENC_BIG_ENDIAN and ENC_NA *happen* to
    be 0, but omitting ENC_BIG_ENDIAN doesn't make it sufficiently clear
    that it's UTF-16BE or UCS-2BE.
    
    Change-Id: Iecf7375763ce4922bd1b0676c9dc5a01731c2fec
    Reviewed-on: https://code.wireshark.org/review/33374
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 38dec96c656e438e1f09f7dda6327b85ffd0c479)
    Reviewed-on: https://code.wireshark.org/review/33376
    

Actions performed:

    from  d272747   [Automatic update for 2019-05-26]
     add  e269273   *Always* pair ENC_UTF_16 and ENC_UCS_2 with a byte order.


Summary of changes:
 epan/dissectors/packet-hiqnet.c    | 12 ++++++------
 epan/dissectors/packet-isobus-vt.c |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)