vim and unicode
Pawel Veselov
pawel.veselov at gmail.com
Wed Sep 16 12:34:32 PDT 2009
What's the output if you type in 'locale' ?
-- Pawel.
On Wed, Sep 16, 2009 at 7:17 AM, Max Brown <max.e.brown at gmail.com> wrote:
> Hi,
>
> I am having some problems with vim and unicode files.
>
> If I create a file test.txt with some random text in it, then open it
> in vim, :set encoding=unicode, and save, then strange things happen:
>
> $ cat test.txt
> 123
> 123
> max:~ max$ file test.txt
> test.txt: ASCII text
> max:~ max$ vim test.txt
> max:~ max$ file test.txt
> test.txt: binary Computer Graphics Metafile
>
> If I now open the text file in vim, there are lots of strange
> characters interspersed. The file looks ok in Textedit.
>
> Is this expected behaviour?
>
> Thanks.
>
> Max
>
> =8<=================================
[skipped]
More information about the macports-users
mailing list