fribidi_parse_charset(3) parse character set name

SYNOPSIS

#include <fribidi.h>

FriBidiCharSet fribidi_parse_charset(const char *s);

PARAMETERS

const char *s
Input name of the character set.

DESCRIPTION

Parse character set name.

RETURNS

The character set named s, or FRIBIDI_CHAR_SET_NOT_FOUND if the character set is not available.

Possible values for a FriBidiCharSet are as follows:

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).