Max,
Yeah, exporting LANG to en_US.UTF-8 and calling locale again should help.
You are using a 7-bit locale, trying to edit UTF-8 (or even 8-bit)
files, you'd get all kinds of weird results.
On Thu, Sep 17, 2009 at 1:31 AM, Max Brown max.e.br...@gmail.com wrote:
Hi Pawel,
On Wed, Sep 16, 2009
Yeah, exporting LANG to en_US.UTF-8 and calling locale again should help.
You are using a 7-bit locale, trying to edit UTF-8 (or even 8-bit)
files, you'd get all kinds of weird results.
Thanks, I will try that.
___
macports-users mailing list
On Thu, Sep 17, 2009 at 11:41 AM, Max Brown max.e.br...@gmail.com wrote:
Yeah, exporting LANG to en_US.UTF-8 and calling locale again should help.
You are using a 7-bit locale, trying to edit UTF-8 (or even 8-bit)
files, you'd get all kinds of weird results.
It works now. Thanks!
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
What's the output if you type in 'locale' ?
-- Pawel.
On Wed, Sep 16, 2009 at 7:17 AM, Max Brown max.e.br...@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