SDL_INVALID_UNICODE_CODEPOINT - Man Page

The Unicode REPLACEMENT CHARACTER codepoint.

Synopsis

#include <SDL3/SDL_stdinc.h>

#define SDL_INVALID_UNICODE_CODEPOINT 0xFFFD

Description

SDL_StepUTF8() and SDL_StepBackUTF8() report this codepoint when they encounter a UTF-8 string with encoding errors.

This tends to render as something like a question mark in most places.

Availability

This macro is available since SDL 3.2.0.

See Also

SDL_StepBackUTF8(3), SDL_StepUTF8(3)

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS