I disagree.
Parsing the textual output of ls is such a natural idiom that I'm happy to renounce any other thing that causes trouble. Give me a "-o sanenames" option for mount, instead.
I think the point is ls has so many options, it's not safe to parse as is.
I always use `find .` if I need a list of files from a directory for this reason
find or indeed, the Rust-based fd[1] which is infinitesimally faster.