fribidi_charset_to_unicode(3)
π fribidi_charset_to_unicode β the glow-up from charset to Unicode
okay so bestie, you found the fribidi_charset_to_unicode(3) page and honestly? it's giving character-set-to-Unicode-glow-up and it's iconic. this lives in the FriBidi Programmer's Manual (yes, the FriBidi crew, we love them), so pull up a chair π
β¨ NAME β¨
fribidi_charset_to_unicode β convert string to Unicode. literally that's it, that's the whole job π¦
πΈ SYNOPSIS πΈ
#include <../fribidi/lib/fribidi.h>
FriBidiStrIndex fribidi_charset_to_unicode
(
FriBidiCharSet char_set,
const char *s,
FriBidiStrIndex len,
FriBidiChar *us
);
copy it exactly bestie, no cap, that #include path is weird-looking but it is what it is π
π PARAMETERS π
FriBidiCharSet char_setβ the character set you're converting from. pick your fighter:
Possible values for a FriBidiCharSet are as follows:
FRIBIDI_CHAR_SET_UTF8β UTF-8 (Unicode). the main character πFRIBIDI_CHAR_SET_CAP_RTLβ CapRTL (Test). yes it says Test, she's a test girly π§ͺFRIBIDI_CHAR_SET_ISO8859_6β ISO8859-6 (Arabic).FRIBIDI_CHAR_SET_ISO8859_8β ISO8859-8 (Hebrew).FRIBIDI_CHAR_SET_CP1255β CP1255 (MS Hebrew/Yiddish).FRIBIDI_CHAR_SET_CP1256β CP1256 (MS Arabic).
const char *sβ the input string, encoded inchar_set. this is the vibe you're bringing in π«FriBidiStrIndex lenβ the input string length. tell her how long she is, she needs to know πFriBidiChar *usβ the output Unicode string. the after photo π
π¦ DESCRIPTION π¦
so what does she do? this function converts a string from a character set, to a Unicode string. that's the entire serve. charset in, Unicode out, periodt β¨
π«Ά RETURNS π«Ά
The length of the new string. that's the number you get back, and it's the length of the new one β not the old one, bestie, don't get it twisted π
π SEE ALSO π
the whole friend group, fr fr:
fribidi_shape_arabic(3)fribidi_get_par_direction(3)fribidi_get_par_embedding_levels_ex(3)fribidi_reorder_line(3)fribidi_get_bidi_type(3)fribidi_get_bidi_types(3)fribidi_get_bidi_type_name(3)fribidi_unicode_to_charset(3)fribidi_parse_charset(3)fribidi_debug_status(3)fribidi_set_debug(3)fribidi_mirroring_status(3)fribidi_set_mirroring(3)fribidi_reorder_nsm_status(3)fribidi_set_reorder_nsm(3)fribidi_log2vis_get_embedding_levels(3)fribidi_get_type(3)fribidi_get_type_internal(3)fribidi_get_par_embedding_levels(3)fribidi_join_arabic(3)fribidi_get_joining_type(3)fribidi_get_joining_types(3)fribidi_get_joining_type_name(3)fribidi_get_mirror_char(3)fribidi_shape_mirroring(3)fribidi_get_bracket(3)fribidi_get_bracket_types(3)fribidi_shape(3)fribidi_remove_bidi_marks(3)fribidi_log2vis(3)
lowkey if you're going the other direction, fribidi_unicode_to_charset(3) is right there, she's the reverse queen π
and that's the page!! this one came from c2man fribidi-char-sets.h, dated 29 October 2026 β mwah, sending you off with a kiss, go convert some strings bestie πβ¨π
π¦ where this page comes from
- arch rolling: fribidi 1.0.18-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms