SDL_INVALID_UNICODE_CODEPOINT(3)

SDL_INVALID_UNICODE_CODEPOINT3

The unicode replacement character codepoint.

Usage

#include "SDL3/SDL.h"

#define SDL_INVALID_UNICODE_CODEPOINT 0xFFFD

Header file

Defined in SDL3/SDL_stdinc.h

Overview

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.

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