Paolo Borelli f559bc01dc Make g_utf8_make_valid optionally take a length
g_utf8_make_valid was turned into a public API this cycle. However
now that it is public we should make the API more generic, allowing
the caller to specify the length. This is especially useful if
the function is called with a string that has \0 in the middle
or for chunks of a strings that are not nul terminated.
This is also consistent with most of the other utf8 utils.

Callers inside glib are updated to the new signature.

https://bugzilla.gnome.org/show_bug.cgi?id=779456
2017-03-02 10:46:51 +01:00
..
2014-01-31 14:31:55 +01:00
2011-06-12 16:17:30 -04:00
2014-02-01 20:46:29 -05:00
2015-09-21 06:44:58 -04:00
2015-06-29 08:20:26 -07:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2013-11-20 09:16:16 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-04-07 08:43:24 -05:00
2014-01-31 14:31:55 +01:00
2016-10-12 21:30:42 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-07-16 20:48:41 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-06-29 15:16:52 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2015-11-02 20:03:38 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-02-24 11:27:09 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2015-01-14 16:21:00 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-09-21 18:31:04 +02:00
2014-01-31 14:31:55 +01:00
2014-06-28 12:49:38 -04:00
2016-09-21 18:31:04 +02:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2016-04-27 13:17:27 +00:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-09-09 08:50:55 -03:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-10-12 15:07:31 -04:00
2014-01-31 14:31:55 +01:00