1fribidi_charset_to_unicode(3) Programmer's Manualfribidi_charset_to_unicode(3)
2
3
4

NAME

6       fribidi_charset_to_unicode - convert string to Unicode
7

SYNOPSIS

9       #include <fribidi.h>
10
11       extern FriBidiStrIndex fribidi_charset_to_unicode
12       (
13            FriBidiCharSet char_set,
14            const char *s,
15            FriBidiStrIndex len,
16            FriBidiChar *us
17       );
18

PARAMETERS

20       FriBidiCharSet char_set
21              Character set to convert from.
22
23              Possible values for a FriBidiCharSet are as follows:
24              FRIBIDI_CHAR_SET_UTF8       UTF-8 (Unicode).
25              FRIBIDI_CHAR_SET_CAP_RTL    CapRTL (Test).
26              FRIBIDI_CHAR_SET_ISO8859_6  ISO8859-6 (Arabic).
27              FRIBIDI_CHAR_SET_ISO8859_8  ISO8859-8 (Hebrew).
28              FRIBIDI_CHAR_SET_CP1255     CP1255 (MS Hebrew/Yiddish).
29              FRIBIDI_CHAR_SET_CP1256     CP1256 (MS Arabic).
30
31       const char *s
32              Input string encoded in char_set.
33
34       FriBidiStrIndex len
35              Input string length.
36
37       FriBidiChar *us
38              Output Unicode string.
39

DESCRIPTION

41       This  function  converts  an  string from a character set, to a Unicode
42       string.
43

RETURNS

45       The length of the new string.
46

SEE ALSO

48       fribidi_shape_arabic(3),                  fribidi_get_par_direction(3),
49       fribidi_get_par_embedding_levels_ex(3),        fribidi_reorder_line(3),
50       fribidi_get_bidi_type(3),                    fribidi_get_bidi_types(3),
51       fribidi_get_bidi_type_name(3),                 fribidi_debug_status(3),
52       fribidi_set_debug(3),                    fribidi_unicode_to_charset(3),
53       fribidi_parse_charset(3), fribidi_mirroring_status(3), fribidi_set_mir‐
54       roring(3),  fribidi_reorder_nsm_status(3),  fribidi_set_reorder_nsm(3),
55       fribidi_log2vis_get_embedding_levels(3),           fribidi_get_type(3),
56       fribidi_get_type_internal(3),             fribidi_remove_bidi_marks(3),
57       fribidi_log2vis(3),                fribidi_get_par_embedding_levels(3),
58       fribidi_join_arabic(3), fribidi_get_joining_type(3),  fribidi_get_join‐
59       ing_types(3),     fribidi_get_joining_type_name(3),    fribidi_get_mir‐
60       ror_char(3),    fribidi_shape_mirroring(3),     fribidi_get_bracket(3),
61       fribidi_get_bracket_types(3), fribidi_shape(3)
62
63
64
65c2man fribidi-char-sets.h      19 February 2018  fribidi_charset_to_unicode(3)
Impressum