fribidi_parse_charset(3)

✨ fribidi_parse_charset(3) ✨

okay so bestie, welcome to the fribidi_parse_charset page from the FriBidi Programmer's Manual β€” it's giving "one tiny function, one very specific job" and honestly? iconic. πŸ’…


🌸 NAME 🌸

fribidi_parse_charset β€” like, it parses a character set name. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <../fribidi/lib/fribidi.h>

FriBidiCharSet fribidi_parse_charset(const char *s);

so you include that header (yes, exactly that path, don't come for me), and you call the function, and it hands you back a FriBidiCharSet. slay. ✨


πŸ’– PARAMETERS πŸ’–

  • const char *s β€” the input name of the character set. like, you're literally passing in a name as a string and letting it figure out which charset you mean. bestie behavior fr fr. 🫢

🌈 DESCRIPTION 🌈

Parse character set name. πŸ’«

that's it, that's the description β€” it takes a name and parses it into a FriBidiCharSet. lowkey simple, highkey useful. no cap.


⭐ RETURNS ⭐

It returns the character set named s, or FRIBIDI_CHAR_SET_NOT_FOUND if the character set is not available. 😭 so if you typo the name, you get the not-found value β€” that's your vibe check failing, bestie.

The possible values for a FriBidiCharSet are as follows, and yes, I'm listing every single one because we don't skip: πŸ‘‘

  • FRIBIDI_CHAR_SET_UTF8 β€” UTF-8 (Unicode).
  • FRIBIDI_CHAR_SET_CAP_RTL β€” CapRTL (Test).
  • 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).

six whole charsets, all accounted for, nothing skipped πŸ’€βœ¨


πŸ’œ SEE ALSO πŸ’œ

the friend group, in full, because they all deserve their moment:


ngl, that's a lot of cross-references and I respect the hustle. go read them. πŸ§šβ€β™€οΈ

and that's the page!! written by c2man fribidi-char-sets.h, dated 29 October 2026 β€” mwah, sending you off with a fribidi_parse_charset(3) and a little kiss on the forehead πŸ“πŸ«ΆπŸ’–

πŸ“¦ where this page comes from