mpv's locale rant is another "blog post" about the frustration of locale.
https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...
https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...
Bytes. Every number other than 0 and 47 is allowed. They should probably be treated as opaque blobs of binary data.
Windows has the same problem where in most places the kernel will allow all WCHAR sequences (minus a short list of reserved ones) and gives you no guarantee that that's actually UTF-16.