NAME

FcUtf16Len - count UTF-16 encoded chars

SYNOPSIS



##iinncclluuddee <> <><> FFccBBooooll FFccUUttff1166LLeenn ((FFccCChhaarr88 **_s_r_c,, FFccEEnnddiiaann _e_n_d_i_a_n,, iinntt _l_e_n,, iinntt **_n_c_h_a_r,, iinntt **_w_c_h_a_r));;

DESCRIPTION

Counts the number of Unicode chars in _l_e_n bytes of _s_r_c. Bytes of _s_r_c are combined into 16-bit units according to _e_n_d_i_a_n. Places that count in _n_c_h_a_r. _w_c_h_a_r contains 1, 2 or 4 depending on the number of bytes needed to hold the largest unicode char counted. The return value indicates whether _s_t_r_i_n_g is a well-formed UTF16 string.

VERSION

Fontconfig version 2.6.0