SDL_iconv_open(3)

SDL_iconv_open3

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

Usage

#include "SDL3/SDL.h"

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

Header file

Defined in SDL3/SDL_stdinc.h

Function parameters

tocode

The target character encoding, must not be NULL.

fromcode

The source character encoding, must not be NULL.

Return value

( SDL_iconv_t ) 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.