{"action":"created","issue":{"url":"https://api.github.com/repos/doherty/utf8-all/issues/21","labels_url":"https://api.github.com/repos/doherty/utf8-all/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/doherty/utf8-all/issues/21/comments","events_url":"https://api.github.com/repos/doherty/utf8-all/issues/21/events","html_url":"https://github.com/doherty/utf8-all/issues/21","id":18729627,"number":21,"title":"OS interaction and unicode","user":{"login":"Leont","id":50472,"avatar_url":"https://avatars.githubusercontent.com/u/50472?v=3","gravatar_id":"","url":"https://api.github.com/users/Leont","html_url":"https://github.com/Leont","followers_url":"https://api.github.com/users/Leont/followers","following_url":"https://api.github.com/users/Leont/following{/other_user}","gists_url":"https://api.github.com/users/Leont/gists{/gist_id}","starred_url":"https://api.github.com/users/Leont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leont/subscriptions","organizations_url":"https://api.github.com/users/Leont/orgs","repos_url":"https://api.github.com/users/Leont/repos","events_url":"https://api.github.com/users/Leont/events{/privacy}","received_events_url":"https://api.github.com/users/Leont/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-08-29T13:08:52Z","updated_at":"2015-01-12T16:29:19Z","closed_at":null,"body":"To quote perlunicode:\r\n\r\n> 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?\r\n\r\n> * chdir, chmod, chown, chroot, exec, link, lstat, mkdir, rename, rmdir, stat, symlink, truncate, unlink, utime, -X\r\n* %ENV\r\n* glob (aka the <*>)\r\n* open, opendir, sysopen\r\n* qx (aka the backtick operator), system, readdir, readlink\r\n\r\nGiven 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.\r\n\r\nAlso, this may be material for a separate module that's used by utf8::all, instead of being direct part of it."},"comment":{"url":"https://api.github.com/repos/doherty/utf8-all/issues/comments/69597778","html_url":"https://github.com/doherty/utf8-all/issues/21#issuecomment-69597778","issue_url":"https://api.github.com/repos/doherty/utf8-all/issues/21","id":69597778,"user":{"login":"HayoBaan","id":8306973,"avatar_url":"https://avatars.githubusercontent.com/u/8306973?v=3","gravatar_id":"","url":"https://api.github.com/users/HayoBaan","html_url":"https://github.com/HayoBaan","followers_url":"https://api.github.com/users/HayoBaan/followers","following_url":"https://api.github.com/users/HayoBaan/following{/other_user}","gists_url":"https://api.github.com/users/HayoBaan/gists{/gist_id}","starred_url":"https://api.github.com/users/HayoBaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HayoBaan/subscriptions","organizations_url":"https://api.github.com/users/HayoBaan/orgs","repos_url":"https://api.github.com/users/HayoBaan/repos","events_url":"https://api.github.com/users/HayoBaan/events{/privacy}","received_events_url":"https://api.github.com/users/HayoBaan/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T16:29:19Z","updated_at":"2015-01-12T16:29:19Z","body":">> So with readlink out of the way: if anyone has an idea how to override the default code for the qx and backtick operator, I would like to hear it so we can implement these as well.\r\n> That is easy, you can override readpipe in much the same way you override readlink and readdir :-)\r\n\r\nAwesome, why didn't I think of that earlier? (I do now remember reading about the base of `qx` and the backtick, but couldn't bring it to memory, thanks for reminding me). Perhaps I can have this one done soon too now! :sunglasses:\r\n\r\n>> Also a solution for manipulating %ENV without affecting non utf8::all code would be welcome :-)\r\n> I can think of ways, but none of them is appealing (e.g. ties…)\r\nI had been thinking in that direction too, but didn't like the idea either :disappointed:"}}