Scroll to navigation

SDL_iconv_string(3) SDL3 FUNCTIONS SDL_iconv_string(3)

NAME

SDL_iconv_string - This function converts a buffer or string between encodings in one pass, returning a string that must be freed with SDL_free () or NULL on error.

SYNOPSIS

#include "SDL3/SDL.h"
char* SDL_iconv_string(const char *tocode,
                       const char *fromcode,
                       const char *inbuf,
                       size_t inbytesleft);

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.1.0 SDL