Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is that a problem for this application, though? Don’t most people encode their file names in utf8, or is that an ASCII-centric falsehood?


if ls returned json then it would have to decide what to do with non-utf8 filenames (or even users and groups, I do not know what the rules are there); it could reture either "filename.txt" or {"encoding":"base64", "data":"<base64 blob>"} to obviate the problem but it is not a very elegant solution




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: