Skip to content

OS interaction and unicode #21

@Leont

Description

@Leont

To quote perlunicode:

One reason that Perl does not attempt to resolve the role of Unicode in these situations is that the answers are highly dependent on the operating system and the file system(s). For example, whether filenames can be in Unicode and in exactly what kind of encoding, is not exactly a portable concept. Similarly for qx and system: how well will the "command-line interface" (and which of them?) handle Unicode?

  • chdir, chmod, chown, chroot, exec, link, lstat, mkdir, rename, rmdir, stat, symlink, truncate, unlink, utime, -X
  • %ENV
  • glob (aka the <*>)
  • open, opendir, sysopen
  • qx (aka the backtick operator), system, readdir, readlink

Given we're handling readdir now, I'm wondering if we shouldn't also handle most other interfaces with the OS. Not sure we can actually do that for all of these though, some don't overload cleanly.

Also, this may be material for a separate module that's used by utf8::all, instead of being direct part of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions