|
|
|
|
|
by zokier
1282 days ago
|
|
> How does using UTF-8 to represent strings help? Because you can represent invalid strings: just leave them as-is and don't try to decode them unless you have to. Sure, you can't decode them as code points, but that's actually a pretty unusual thing to do. If someone asks for decoding, _then_ you can give an error How is that better than just handling paths as `bytes`? |
|