linux: Allow valid UTF-8 encoded string.