{"action":"created","issue":{"url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/16","labels_url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/16/comments","events_url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/16/events","html_url":"https://github.com/fsharp/emacs-fsharp-mode/pull/16","id":91024508,"number":16,"title":"Remove BOM from process output","user":{"login":"juergenhoetzel","id":52547,"avatar_url":"https://avatars.githubusercontent.com/u/52547?v=3","gravatar_id":"","url":"https://api.github.com/users/juergenhoetzel","html_url":"https://github.com/juergenhoetzel","followers_url":"https://api.github.com/users/juergenhoetzel/followers","following_url":"https://api.github.com/users/juergenhoetzel/following{/other_user}","gists_url":"https://api.github.com/users/juergenhoetzel/gists{/gist_id}","starred_url":"https://api.github.com/users/juergenhoetzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juergenhoetzel/subscriptions","organizations_url":"https://api.github.com/users/juergenhoetzel/orgs","repos_url":"https://api.github.com/users/juergenhoetzel/repos","events_url":"https://api.github.com/users/juergenhoetzel/events{/privacy}","received_events_url":"https://api.github.com/users/juergenhoetzel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-25T17:21:41Z","updated_at":"2015-08-29T11:15:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/pulls/16","html_url":"https://github.com/fsharp/emacs-fsharp-mode/pull/16","diff_url":"https://github.com/fsharp/emacs-fsharp-mode/pull/16.diff","patch_url":"https://github.com/fsharp/emacs-fsharp-mode/pull/16.patch"},"body":"Even though the BOM from STDOUT is correctly handled by Emacs, there\r\nis also a BOM present in STDERR. And there is no way to seperate STDOUT\r\nand STDERR:\r\n\r\nhttp://www.gnu.org/software/emacs/manual/html_node/elisp/Output-from-Processes.html\r\n\r\nEmacs-devel discussion: https://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00556.html\r\n\r\nBTW: There might be timing issues, because I did not run into this problem on my faster system."},"comment":{"url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/comments/135972798","html_url":"https://github.com/fsharp/emacs-fsharp-mode/pull/16#issuecomment-135972798","issue_url":"https://api.github.com/repos/fsharp/emacs-fsharp-mode/issues/16","id":135972798,"user":{"login":"juergenhoetzel","id":52547,"avatar_url":"https://avatars.githubusercontent.com/u/52547?v=3","gravatar_id":"","url":"https://api.github.com/users/juergenhoetzel","html_url":"https://github.com/juergenhoetzel","followers_url":"https://api.github.com/users/juergenhoetzel/followers","following_url":"https://api.github.com/users/juergenhoetzel/following{/other_user}","gists_url":"https://api.github.com/users/juergenhoetzel/gists{/gist_id}","starred_url":"https://api.github.com/users/juergenhoetzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juergenhoetzel/subscriptions","organizations_url":"https://api.github.com/users/juergenhoetzel/orgs","repos_url":"https://api.github.com/users/juergenhoetzel/repos","events_url":"https://api.github.com/users/juergenhoetzel/events{/privacy}","received_events_url":"https://api.github.com/users/juergenhoetzel/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T11:15:37Z","updated_at":"2015-08-29T11:15:37Z","body":"@rneatherway The workaround doesn't help. The BOM is already written, when the standard streams are created. Digging through the Mono Sources (Console.cs) i found:\r\n\r\n\t\t// FIXME: Console should use these encodings when changed\r\n\t\tstatic Encoding inputEncoding;\r\n\t\tstatic Encoding outputEncoding;\r\n\r\nI still trying to figure out the root cause of this Problem on ArchLinux (i686). On Fedora (i686) no BOM is written.\r\n\r\n"}}