Bram, please check third patch from me. :-) see below as descriptions.
http://groups.google.co.jp/group/vim_dev/browse_thread/thread/e9945dbdd6ab388f?hl=ja#455ac73ba4bb0e47 - Yasuhiro Matsumoto On Wed, Jan 14, 2009 at 6:00 PM, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > > On 14/01/09 09:54, Dominique Pelle wrote: >> 2009/1/14 Tony Mechelynck<antoine.mechely...@gmail.com>: >> >>> On 14/01/09 07:16, Yasuhiro MATSUMOTO wrote: >>>> Oooooops. sorry. >>>> >>>> However, the problem happen with the script as your said. :-) >>>> >>>> Thanks. >>> "E486: Pattern not found" means that there was no match. Are you sure >>> you ran that script while the current file contained one or more 。 >>> characters? When I do (manually) >>> >>> :%s/。/./g >>> >>> on the UTF-8 script I sent you, the result is "2 substitutions on 2 >>> lines" and the fullwidth fullstops are replaced by ASCII dots. >>> >>> I'm using gvim 7.2.84 (Huge version, with GTK2/Gnome GUI). >>> >>> >>> Best regards, >>> Tony. >> >> I confirm the bug. >> >> - Doing ":%s/。/./g" works (no error, and substitution happens). >> >> - But doing... >> >> :command! SubJapanesePeriodToDot %s/。/./g >> :SubJapanesePeriodToDot >> >> ... then I get the error message: >> >> E486: Pattern not found:<e3><80><fe>X<82> >> >> I'm using Vim-7.2.84 on Linux, with a utf-8 locale. >> >> 。is Unicode character U+3002 (i.e. UTF-8 sequence 0xe3 0x80 0x82). >> >> -- Dominique > > Ah, yes, I get the same. > > > Best regards, > Tony. > -- > "All flesh is grass" > -- Isiah > Smoke a friend today. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---