Home | History | Annotate | Download | only in lib

Lines Matching full:utf8

41 /* maximum number of bytes of an UTF8 character */
50 /* Unicode UTF8 functions */
54 * Determines the number of UTF8 characters contained in
55 * the UTF8 string 'utf8str' of maximum length maxlen (in bytes)
56 * @param utf8str : a string encoded in UTF8
58 * @return >=0 : length of the UTF8 string in number of UTF8 characters
60 * @return <0 : not starting with a valid UTF8 character
61 * @remarks strict implementation, not allowing invalid utf8
68 * Determines the number of bytes an UTF8 character used based
69 * on the first byte of the UTF8 character
70 * @param firstchar: the first (and maybe only) byte of an UTF8 character
71 * @return positive value in {1,4} : number of bytes of the UTF8 character
72 * @return 0 :if not a valid UTF8 character start
73 * @remarks strict implementation, not allowing invalid utf8
81 * on the first byte of the UTF8 character
82 * @param utf8str : utf8 string
92 * @param utf8str : utf8 string
101 * Gets next UTF8 character 'utf8char' from the UTF8 string
103 * @param utf8s : UTF8 string
105 * @param pos : position from where the UTF8 character is checked and copied
106 * (set also as output to the position directly following the UTF8 char)
107 * @param utf8char : zero terminated UTF8 character containing 1 to 4 bytes (output)
109 * @return FALSE if there is no valid UTF8 char or no more UTF8 char available within utf8len
125 * Gets previous UTF8 character 'utf8char' from the UTF8 string
127 * @param utf8s : UTF8 string
129 * @param pos : the search for the prev UTF8 char starts at [pos-1]
130 * (set also as output to the start position of the prev UTF8 character)
131 * @param utf8char : zero terminated UTF8 character containing 1 to 4 bytes (output)
133 * @return FALSE if there is no valid UTF8 char preceeding pos or no more UTF8 char available within utf8len
150 * returns TRUE if the input string is UTF8 and uppercase
151 * @param str : UTF8 string
153 * @return TRUE if string is UTF8 and uppercase
159 * returns TRUE if the input string is UTF8 and lowercase
160 * @param str : UTF8 string
162 * @return TRUE if string is UTF8 and lowercase