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 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_charset_to_unicode(3), fribidi_parse_charset(3),
49 fribidi_shape_arabic(3), fribidi_get_par_direction(3),
50 fribidi_get_par_embedding_levels(3), fribidi_reorder_line(3),
51 fribidi_get_bidi_type(3), fribidi_get_bidi_types(3),
52 fribidi_get_bidi_type_name(3), fribidi_debug_status(3), fribidi_mirror‐
53 ing_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_status(3),
54 fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3),
55 fribidi_get_type(3), fribidi_get_type_internal(3),
56 fribidi_remove_bidi_marks(3), fribidi_log2vis(3), fribidi_join_ara‐
57 bic(3), fribidi_get_joining_type(3), fribidi_get_joining_types(3),
58 fribidi_get_joining_type_name(3), fribidi_get_mirror_char(3),
59 fribidi_shape_mirroring(3), fribidi_shape(3)
60
61
62
63GNU FriBidi 0.19.2 30 January 2006 fribidi_unicode_to_charset(3)