Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Functions
unicode-utils.h File Reference
`#include "ws_symbol_export.h"`
`#include <glib.h>`

Go to the source code of this file.

## Macros
#define | IS_LEAD_SURROGATE(uchar2) ((uchar2) >= 0xd800 && (uchar2) < 0xdc00)
#define | IS_TRAIL_SURROGATE(uchar2) ((uchar2) >= 0xdc00 && (uchar2) < 0xe000)
#define | SURROGATE_VALUE(lead, trail) (((((lead) - 0xd800) << 10) | ((trail) - 0xdc00)) + 0x10000)

## Functions
WS_DLL_PUBLIC int | ws_utf8_char_len (guint8 ch)

## Detailed Description

Unicode convenience routines.