3 ms·
It is horrible compromise of a bad situation. 99% of the time file name bytes are UTF-8 decodable. What do you do in the other case? You could return a diffe
by jnwatson 7y ago
It is horrible compromise of a bad situation. 99% of the time file name bytes are UTF-8 decodable. What do you do in the other case? You could return a different type, but then that makes dealing with it harder. You could make a new filesystem name type, but that would make simple APIs complicated. Using a new control character is probably the best one could do.