{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2802","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2802/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2802/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2802/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2802","id":139090942,"number":2802,"title":"fish encodes combining diacritical marks differently than bash","user":{"login":"TimWolla","id":209270,"avatar_url":"https://avatars.githubusercontent.com/u/209270?v=3","gravatar_id":"","url":"https://api.github.com/users/TimWolla","html_url":"https://github.com/TimWolla","followers_url":"https://api.github.com/users/TimWolla/followers","following_url":"https://api.github.com/users/TimWolla/following{/other_user}","gists_url":"https://api.github.com/users/TimWolla/gists{/gist_id}","starred_url":"https://api.github.com/users/TimWolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimWolla/subscriptions","organizations_url":"https://api.github.com/users/TimWolla/orgs","repos_url":"https://api.github.com/users/TimWolla/repos","events_url":"https://api.github.com/users/TimWolla/events{/privacy}","received_events_url":"https://api.github.com/users/TimWolla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/needs-more-info","name":"needs-more-info","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-03-07T20:52:47Z","updated_at":"2016-03-08T06:31:41Z","closed_at":null,"body":"Ctrl + Shift + T opens a new tab in gnome-terminal. The current working directory in this new tab usually is the same as the one in the previously active tab. But it is not when the current working directory contains a German umlaut.\r\n\r\n### Reproduction Steps:\r\n\r\n```\r\n# Create directory with umlaut and change into it\r\ncd /tmp/\r\nmkdir Tür\r\ncd Tür/\r\n# Now: Press Ctrl+Shift+T\r\n```\r\n\r\n### Expected behavior:\r\n\r\n`pwd` is `/tmp/Tür`\r\n\r\n### Observed behavior:\r\n\r\n`pwd` is `/home/<myuser>`\r\n\r\n### Additional information:\r\n\r\n---\r\nFish version: `2.2.0-675-g5e09411`\r\n\r\nOperating system: Ubuntu Wily with fish's nightly PPA\r\n\r\nTerminal or terminal emulator: `GNOME Terminal 3.16.2`"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/193626128","html_url":"https://github.com/fish-shell/fish-shell/issues/2802#issuecomment-193626128","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2802","id":193626128,"user":{"login":"jakwings","id":1451509,"avatar_url":"https://avatars.githubusercontent.com/u/1451509?v=3","gravatar_id":"","url":"https://api.github.com/users/jakwings","html_url":"https://github.com/jakwings","followers_url":"https://api.github.com/users/jakwings/followers","following_url":"https://api.github.com/users/jakwings/following{/other_user}","gists_url":"https://api.github.com/users/jakwings/gists{/gist_id}","starred_url":"https://api.github.com/users/jakwings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakwings/subscriptions","organizations_url":"https://api.github.com/users/jakwings/orgs","repos_url":"https://api.github.com/users/jakwings/repos","events_url":"https://api.github.com/users/jakwings/events{/privacy}","received_events_url":"https://api.github.com/users/jakwings/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T06:31:41Z","updated_at":"2016-03-08T06:31:41Z","body":"Way to reproduce on Ubuntu (15.10):\r\n\r\n```bash\r\nsudo add-apt-repository ppa:fish-shell/nightly-master\r\nsudo apt-get update\r\nsudo apt-get install fish\r\n\r\nfish --version  #=> fish, version 2.2.0-675-g5e09411\r\n```\r\n\r\nIn fish:\r\n\r\n```fish\r\necho Tür | __fish_urlencode | xxd\r\n````\r\n\r\noutputs\r\n\r\n```\r\n00000000: 5472                                     Tr\r\n```\r\n\r\nI modified `__fish_urlencode` and added `echo $chars | xxd` but got this:\r\n\r\n```\r\n00000000: 5472 7220 0a0a                           Tr\r\n```\r\n\r\n`ü` is not there.\r\n\r\nSo I guess that `set LC_ALL C` trick doesn't work well for the `read` builtin on Ubuntu."}}