Wireshark-commits: [Wireshark-commits] master-2.4 bd5bd28: *Little-endian* UTF-16.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 25 May 2019 02:34:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bd5bd28aab54b8d7532782d3d963b3dfd08e8644
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

bd5bd28 by Guy Harris (guy@xxxxxxxxxxxx):

    *Little-endian* UTF-16.
    
    ENC_UTF_16 does *not* go with ENC_NA; ENC_NA is for cases where the byte
    order is "not applicable", such as a 1-byte number or a character
    encoding where every character is encoded in 1 byte, but UTF-16 isn't
    one of those cases, as a character is encoded in either 1 or 2 2-byte
    values.  This being a Windows thing, the byte order is little-endian.
    
    Change-Id: Iab0db3fa2c5d2c25be209e4ed0ebd57827edbcd8
    Reviewed-on: https://code.wireshark.org/review/33347
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 2114dba1effebba50cdb611b2650b0a4a37761e4)
    Reviewed-on: https://code.wireshark.org/review/33350
    

Actions performed:

    from  cc525e4   "OEM Codepage" appears to mean "code page number"; show it in decimal.
     add  bd5bd28   *Little-endian* UTF-16.


Summary of changes:
 epan/dissectors/packet-tnef.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)