Overview
| Artifact ID: | 794fbca892f49b1e74608c87b8451256354246c1 |
|---|---|
| Ticket: | 79614fb8b61983ac8ef30ea8752c310465798fc7
[glob], [encoding system] and encoding-free filesystems |
| User & Date: | dkf on 2016-11-14 10:52:21 |
Changes
- icomment:
Filesystems aren't encoding-free as files have names expressed as byte sequences that represent strings, but they (usually) don't have an explicitly defined one. The system encoding is what should be used for filenames <i>by convention</i>, but it is possible to end up with some pretty weird cases where the encoding on one mounted filesystem is different to another one; this is a problem that can really bedevil you if you've got old removable drives, USB sticks, etc. Because of that, it's sometimes useful to be able to change what the system encoding is. (In particular, <tt>iso8859-1</tt> is vital because that at least lets you work with the real bytes; it's a feature of that specific encoding that it maps to the first 256 unicode characters.)
- login: "dkf"
- mimetype: "text/html"