Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 42592: /trunk/epan/ /trunk/epan/: proto.c proto.h tvbuff

Date: Fri, 11 May 2012 23:55:54 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42592

User: guy
Date: 2012/05/11 04:55 PM

Log:
 Add ENC_UTF_16 and ENC_UCS_2.  Note that UTF-16 and UCS-2 are not the
 same, and that the routines to get "Unicode" strings are really doing
 UCS-2 (and not doing anything about code values that aren't valid in
 UCS-2 strings).
 
 Have tvb_get_ephemeral_string_enc() separate cases for ASCII and UTF-8,
 even though they're *currently* treated the same.
 
 For FT_UINT_STRING, treat an encoding value of TRUE as meaning
 "little-endian ASCII"; pass all other encodings through to
 tvb_get_ephemeral_string_enc().

Directory: /trunk/epan/
  Changes    Path          Action
  +8 -12     proto.c       Modified
  +26 -24    proto.h       Modified
  +69 -5     tvbuff.c      Modified