SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_iconv_open

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

Header File

Defined in <SDL3/SDL_stdinc.h>

Syntax

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

Function Parameters

const char * tocode The target character encoding, must not be NULL.
const char * 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.

Version

This function is available since SDL 3.1.3.

See Also


CategoryAPI, CategoryAPIFunction, CategoryStdinc


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.