in reply to Re^6: how are ARGV and filename strings represented?
in thread how are ARGV and filename strings represented?
So, how should your proposed library handle file names?
I like the idea of mapping invalid bytes to other characters (e.g. surrogates like Python's surrogateescape, characters beyond 0x10FFF, etc.)
This provides a way of accepting and generating any file name, while considering files names to be decodable text.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: how are ARGV and filename strings represented?
by afoken (Chancellor) on May 05, 2024 at 14:30 UTC | |
by NERDVANA (Priest) on May 08, 2024 at 02:07 UTC | |
by ikegami (Patriarch) on May 05, 2024 at 22:37 UTC |