Constant SDL_INVALID_UNICODE_CODEPOINT

pub const SDL_INVALID_UNICODE_CODEPOINT: i32 = 65533; // 65_533i32
Available on crate feature dep_sdl3 only.
Expand description

The Unicode REPLACEMENT CHARACTER codepoint.

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