vc_sanitize_unicode(9)
πΈ NAME πΈ
okay so bestie, meet vc_sanitize_unicode(9) from the Kernel API Manual β the little function whose entire era is: replace invalid Unicode code points with U+FFFD β¨. no cap, thatβs the whole glow-up: bad code point in, replacement-character energy out π
periodt.
π SYNOPSIS π
int vc_sanitize_unicode (const int c );
π¦ ARGUMENTS π¦
cβ the received code point π. literally the code point that showed up at the functionβs door.
π SEE ALSO π
Kernel file ./drivers/tty/vt/vt.c is on the SEE ALSO list, and the rest of the squad is:
vc_font_pitch(9)vc_font_size(9)vc_do_resize(9)__vc_resize(9)vt_resize(9)enum vc_ctl_state(9)vc_translate_unicode(9)vt_kmsg_redirect(9)con_is_bound(9)con_is_visible(9)con_debug_enter(9)con_debug_leave(9)do_unregister_con_driver(9)
bye bestie β source/version ./drivers/tty/vt, dated October 2026, page vc_sanitize_unicode(9) signing off ππ«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms