1fribidi_unicode_to_charset(3) Programmer's Manualfribidi_unicode_to_charset(3)
2
3
4
6 fribidi_unicode_to_charset - convert string from Unicode
7
9 #include <fribidi.h>
10
11 extern FriBidiStrIndex fribidi_unicode_to_charset
12 (
13 FriBidiCharSet char_set,
14 const FriBidiChar *us,
15 FriBidiStrIndex len,
16 char *s
17 );
18
20 FriBidiCharSet char_set
21 Character set to conver to.
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 FriBidiChar *us
32 Input Unicode string.
33
34 FriBidiStrIndex len
35 Input string length.
36
37 char *s
38 Output string encoded in char_set.
39
41 This function converts a Unicode string to an string in another charac‐
42 ter set. It also null-terminates the output string.
43
45 The length of the new string.
46
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_charset_to_unicode(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_unicode_to_charset(3)