On Tue Nov 1 14:37:26 2022 +0000, Nikolay Sivov wrote:
I think this is misleading. Not written does not imply "invalid character" condition.
Well, this is based on the assumption that the string is null-terminated which means we hit a null character at the end which of course, it not a valid character.