Add a missing check to g_utf8_get_char_validated()
requested to merge emmanuel.fleury/glib:g_utf8_get_char_validated_wrong_return_on_null_byte into master
g_utf8_get_char_validated() was not exactly matching its documentation. The function was not checking if the sequence of unicode characters was free of null bytes before performing a more in-depth validation.
Fix issue #1052 (closed)