Oooooops. sorry.

However, the problem happen with the script as your said. :-)

Thanks.

On Wed, Jan 14, 2009 at 2:03 PM, Tony Mechelynck
<[email protected]> wrote:
> On 14/01/09 01:18, Yasuhiro MATSUMOTO wrote:
>>
>> Hi, Tony.
>>
>> Yes it's "full width full stop" character in utf-8. and it include 0x80.
>>
>>   <E3><80><82>
>>
>> i.e.
>>
>>   :command! SubJapanesePeriodToDot %s/。/./g
>>   :SubJapanesePeriodToDot
>>
>> I get an error "E486: Pattern not found". Please check attached script.
>
> The script attached to your mail is not in UTF-8, I got it with its
> fullwidth fullstop encoded as 0x81 0x42. After trying to read it in gvim in
> a couple of different encodings, I conclude that it is not in ISO-2022-JP
> either but in shift-JIS or in something that represents the fullwidth
> fullstop the same way as shift-JIS does.
>
> I'm attaching a UTF-8 version of the same (with BOM), your gvim ought to be
> able to read it correctly if you have 'encoding' set to utf-8 and
> 'fileencodings' (plural) starting with ucs-bom. Any Unicode-capable editor
> or browser ought to be able to read it correctly too.
>
>
> Best regards,
> Tony.
> --
> X-rated movies are all alike ... the only thing they leave to the
> imagination is the plot.
>



-- 
- Yasuhiro Matsumoto

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui