linux: Allow valid UTF-8 string.