SDL_iconv_open - Man Page

This function allocates a context for the specified character set conversion.

Synopsis

#include <SDL3/SDL_stdinc.h>

SDL_iconv_t SDL_iconv_open(const char *tocode,
                       const char *fromcode);

Function Parameters

tocode

The target character encoding, must not be NULL.

fromcode

The source character encoding, must not be NULL.

Return Value

Returns a handle that must be freed with SDL_iconv_close, or SDL_ICONV_ERROR on failure.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_iconv(3), SDL_iconv_close(3), SDL_iconv_string(3)

Referenced By

SDL_iconv(3), SDL_iconv_close(3), SDL_iconv_string(3), SDL_iconv_t.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS