Wireshark-dev: Re: [Wireshark-dev] Replacing g_iconv and different codesets

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Fri, 20 Dec 2013 21:11:17 +0100
On Fri, Dec 20, 2013 at 11:59:20AM -0800, Michael Lum wrote:
> Okay, thanks for the responses.
> 
> I started to make some changes but its probably more than I have time for.
> 
> But in case I pick it up I had a question about the ENC_ values from proto.h.
> 
> This is what I have from SVN:
> 
> #define ENC_CHARENCODING_MASK   0x7FFFFFFE      /* mask out byte-order bits */
> #define ENC_ASCII               0x00000000
> #define ENC_UTF_8               0x00000002
> #define ENC_UTF_16              0x00000004
> #define ENC_UCS_2               0x00000006
> #define ENC_EBCDIC              0x00000008
> #define ENC_WINDOWS_1250        0x0000000A
> #define ENC_ISO_8859_1          0x0000000C
> #define ENC_ISO_8859_2          0x0000000E
#define ENC_ISO_8859_3          0x00000010
#define ENC_ISO_8859_4          0x00000012
> #define ENC_ISO_8859_5          0x00000014
#define ENC_ISO_8859_6          0x00000016
#define ENC_ISO_8859_7          0x00000018
#define ENC_ISO_8859_8          0x0000001A
> #define ENC_ISO_8859_9          0x0000001C
#define ENC_ISO_8859_10         0x0000001E
#define ENC_ISO_8859_11         0x00000020
/* #define ENC_ISO_8859_12         0x00000022 */
#define ENC_ISO_8859_13         0x00000024
#define ENC_ISO_8859_14         0x00000026
#define ENC_ISO_8859_15         0x00000028

Hope that helps.