{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/728","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/728/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/728/comments","events_url":"https://api.github.com/repos/vim/vim/issues/728/events","html_url":"https://github.com/vim/vim/issues/728","id":145476563,"number":728,"title":"Character À eats up the next two characters when in scriptin in :source! <scriptin>","user":{"login":"filipelbc","id":14896418,"avatar_url":"https://avatars.githubusercontent.com/u/14896418?v=3","gravatar_id":"","url":"https://api.github.com/users/filipelbc","html_url":"https://github.com/filipelbc","followers_url":"https://api.github.com/users/filipelbc/followers","following_url":"https://api.github.com/users/filipelbc/following{/other_user}","gists_url":"https://api.github.com/users/filipelbc/gists{/gist_id}","starred_url":"https://api.github.com/users/filipelbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipelbc/subscriptions","organizations_url":"https://api.github.com/users/filipelbc/orgs","repos_url":"https://api.github.com/users/filipelbc/repos","events_url":"https://api.github.com/users/filipelbc/events{/privacy}","received_events_url":"https://api.github.com/users/filipelbc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-03T09:59:58Z","updated_at":"2016-04-07T19:35:02Z","closed_at":null,"body":"Problem: character `À` (Hex `00C0`) eats up the next two characters\r\nwhen inside a script used as `<scriptin>` in `:source! <scriptin>`\r\n\r\n**Steps to reproduce**\r\n\r\n* Script file `script.vim`\r\n```\r\n:%s/à nossa/--à nossa--/g\r\n:%s/À nossa/--À nossa--/g\r\n```\r\n\r\n* Sample file `text`\r\n```\r\nAssim mesmo, a complexidade dos estudos efetuados ainda não demonstrou\r\nconvincentemente que vai participar na mudança do levantamento das variáveis\r\nenvolvidas. Todas estas questões, devidamente ponderadas, levantam dúvidas\r\nsobre se a constante divulgação das À nossa foo à nossa informações afeta\r\npositivamente a correta previsão das diretrizes de desenvolvimento para o\r\nfuturo. Desta maneira, o entendimento das metas propostas nos obriga à análise\r\ndo sistema de participação geral. Podemos já vislumbrar o modo pelo qual a\r\nfuturo. Desta maneira, o entendimento das metas propostas nos obriga à análise\r\nsobre se a constante divulgação das À nossa foo à nossa informações afeta\r\nestrutura atual da organização é uma das consequências do impacto na agilidade\r\ndecisória.\r\n```\r\n* Vim invocation `$ vim -N -u NONE text`\r\n\r\n* Command (a) `:source script.vim`\r\n\r\n* Command (b) `:source! script.vim`\r\n\r\n**Results:**\r\n\r\nUsing (a) everything works as expected.\r\n\r\nUsing (b) the second substitute command is read as\r\n(which can be seen in the command history)\r\n\r\n`:%s/Àossa/--Àossa/g`\r\n\r\nresulting in the error\r\n\r\n`E486: Pattern not found: Àossa`\r\n\r\nwhile the first substitute works as expected.\r\n\r\nBoth files are uft-8. Others characters, like `Ò`, seems to work fine.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/207059822","html_url":"https://github.com/vim/vim/issues/728#issuecomment-207059822","issue_url":"https://api.github.com/repos/vim/vim/issues/728","id":207059822,"user":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T19:35:02Z","updated_at":"2016-04-07T19:35:02Z","body":"@filipelbc upps, you are correct, sorry for the inconvenience\r\n\r\nAnd yes, I think, this also fixes the mentioned todo item."}}