mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
docs: Clarify non-NUL requirement in g_utf8_validate()
UTF8 validation is not about your character on a dating site, so don't talk about meeting. https://bugzilla.gnome.org/show_bug.cgi?id=666803
This commit is contained in:
parent
3f3e141ec8
commit
c4fc258424
@ -1606,7 +1606,7 @@ fast_validate_len (const char *str,
|
||||
* being validated otherwise).
|
||||
*
|
||||
* Note that g_utf8_validate() returns %FALSE if @max_len is
|
||||
* positive and NUL is met before @max_len bytes have been read.
|
||||
* positive and any of the @max_len bytes are NUL.
|
||||
*
|
||||
* Returns %TRUE if all of @str was valid. Many GLib and GTK+
|
||||
* routines <emphasis>require</emphasis> valid UTF-8 as input;
|
||||
|
Loading…
Reference in New Issue
Block a user