in reply to Re: utf8 in directory and filenames
in thread utf8 in directory and filenames
Note that the result from decode is a text string, and should never be used as a filename. It's good for displaying the filename to human beings, but not for actually opening the file or storing the filename. When that poses a problem, because the filename must be stored in a text document that's actually meant for computers, consider finding a way to encode the bytes to an ASCII-compatible format, like with URI-escaping or quoted printable.
|
|---|