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

Commits:

bfb2dd2 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 2a22a977e681517343b383387bb4c1eed3ddd448)
    Reviewed-on: https://code.wireshark.org/review/33348
    

Actions performed:

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


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