.\" WARNING! THIS FILE WAS GENERATED AUTOMATICALLY BY c2man! .\" DO NOT EDIT! CHANGES MADE TO THIS FILE WILL BE LOST! .TH "fribidi_unicode_to_charset" 3 "26 September 2024" "c2man fribidi-char-sets.h" "Programmer's Manual" .SH "NAME" fribidi_unicode_to_charset \- convert string from Unicode .SH "SYNOPSIS" .ft B #include <../fribidi/lib/fribidi.h> .sp FriBidiStrIndex fribidi_unicode_to_charset .br ( .br FriBidiCharSet char_set, .br const FriBidiChar *us, .br FriBidiStrIndex len, .br char *s .br ); .ft R .SH "PARAMETERS" .TP .B "FriBidiCharSet char_set" Character set to convert to. .sp Possible values for a \fBFriBidiCharSet\fR are as follows: .RS 0.75in .PD 0 .ft B .nr TL \w'FRIBIDI_CHAR_SET_ISO8859_6'u+0.2i .ft R .TP \n(TLu \fBFRIBIDI_CHAR_SET_UTF8\fR UTF-8 (Unicode). .TP \n(TLu \fBFRIBIDI_CHAR_SET_CAP_RTL\fR CapRTL (Test). .TP \n(TLu \fBFRIBIDI_CHAR_SET_ISO8859_6\fR ISO8859-6 (Arabic). .TP \n(TLu \fBFRIBIDI_CHAR_SET_ISO8859_8\fR ISO8859-8 (Hebrew). .TP \n(TLu \fBFRIBIDI_CHAR_SET_CP1255\fR CP1255 (MS Hebrew/Yiddish). .TP \n(TLu \fBFRIBIDI_CHAR_SET_CP1256\fR CP1256 (MS Arabic). .RE .PD .TP .B "const FriBidiChar *us" Input Unicode string. .TP .B "FriBidiStrIndex len" Input string length. .TP .B "char *s" Output string encoded in char_set. .SH "DESCRIPTION" This function converts a Unicode string to an string in another character set. It also null-terminates the output string. .SH "RETURNS" The length of the new string. .SH "SEE ALSO" fribidi_shape_arabic(3), fribidi_get_par_direction(3), fribidi_get_par_embedding_levels_ex(3), fribidi_reorder_line(3), fribidi_get_bidi_type(3), fribidi_get_bidi_types(3), fribidi_get_bidi_type_name(3), fribidi_charset_to_unicode(3), fribidi_parse_charset(3), fribidi_debug_status(3), fribidi_set_debug(3), fribidi_mirroring_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_status(3), fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3), fribidi_get_type(3), fribidi_get_type_internal(3), fribidi_get_par_embedding_levels(3), fribidi_join_arabic(3), fribidi_get_joining_type(3), fribidi_get_joining_types(3), fribidi_get_joining_type_name(3), fribidi_get_mirror_char(3), fribidi_shape_mirroring(3), fribidi_get_bracket(3), fribidi_get_bracket_types(3), fribidi_shape(3), fribidi_remove_bidi_marks(3), fribidi_log2vis(3)