Skip to main content

Module unicode

Module unicode 

Source
Expand description

Unicode string handling for Windows.

Windows uses UTF-16 (wide strings) for all kernel APIs. This module provides utilities for converting between UTF-8 and UTF-16, and for working with Windows UNICODE_STRING structures.

Structs§

UnicodeString
UNICODE_STRING structure for Windows kernel APIs.
WideStringBuffer
In-place wide string buffer for stack allocation.

Constants§

MAX_COMPONENT_LENGTH
Maximum length for a Windows path component (characters).
MAX_PATH_LENGTH
Maximum length for a full Windows path (characters).

Functions§

ascii_iequals
Compares two wide strings case-insensitively (ASCII only).
is_valid_filename
Validates that a string contains only valid filename characters.