3 ms·
Out of curiosity, what would be some examples of computers with non-unicode filesystems? I'm scratching my head trying to come up with anything other than old,
by douche 11y ago
Out of curiosity, what would be some examples of computers with non-unicode filesystems? I'm scratching my head trying to come up with anything other than old, old legacy systems that used EBCDIC.
- lmm 11y agoWindows. (Many of the western codepages are either subsets of UTF-8, or not actually UTF-8 but can roundtrip through UTF-8 so you don't actually notice the difference as long as the program is just using the filename as an opaque "handle" and not actually manipulating it. In my case my filesystem is Shift-JIS for compatibility with some old Japanese programs, and that doesn't roundtrip cleanly through unicode)
- the_why_of_y 11y agoPOSIX does not require any particular encoding of file names. File names are not even required to be text, just a sequence of bytes; the only forbidden bytes are '\0' and '/'. http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_170 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_...
- lmm 11y agoSure - but concretely, what specific systems have non-unicode filesystems? I know a lot of linux distributions allow you to choose a different encoding if you want, but the defaults push you towards UTF-8.