SDL_INVALID_UNICODE_CODEPOINT - Man Page

The Unicode REPLACEMENT CHARACTER codepoint.

Header File

Defined in SDL3/SDL_stdinc.h

Synopsis

#include "SDL3/SDL.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

·(3), SDL_StepBackUTF8(3), ·(3), SDL_StepUTF8(3)

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS