Fixed handle of null strings in utf8string methods and functions.