Re: Vim windows-1250 encoding bug

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Vim windows-1250 encoding bug

A.J.Mechelynck
----- Original Message -----
From: Pavel "ShadoW" Dvo??k
To: Tony Mechelynck
Sent: Sunday, August 21, 2005 9:09 PM
Subject: Re: Vim windows-1250 encoding bug

>
> Sorry about my poor english, I'm from Czech Republic :).

No problem.
>
> I don't make any autocommands except :e ++enc=windows-1250 <file>. And all
> is in default setting (clean install Fedora Core 4).

You always have autocommands, usually a large number of them, set by the
various plugins which you use. ":autocmd" with no arguments will show them
all. But first -- see below.

>
> If I open cp1250 file, encoding=utf-8, fileencodings=utf-8,latin1,
> fileencoding=windows-1250.
>
> When i use your statusline, fileencoding doesn't change.
>
> Thanks

Maybe Vim does not recognise "windows-1250". Try ":e ++enc=cp1250
filename.ext".

See
    :help encoding-values

Best regards,
Tony.


Reply | Threaded
Open this post in threaded view
|

Re: Vim windows-1250 encoding bug

A.J.Mechelynck
----- Original Message -----
From: Pavel "ShadoW" Dvo??k
To: Tony Mechelynck
Sent: Sunday, August 21, 2005 11:02 PM
Subject: Re: Vim windows-1250 encoding bug

>
> OK, I already understand that autocommand thing :)).
>
> But I have all in default setting.
>
> Problem still remains, when I use :e ++enc=cp1250 <file>.
>
> And I don't have problem with OPEN files in cp-1250, but in
> VIM is bug, that doesn't set right encoding at SWITCH from
> one buffer to another. Do you understand me? (Sorry again
> about my english, I never learned thit language :(.)

Well, what exactly are you doing, and what are you seeing (which exact
commands and which exact symptoms)? By being as precise as possible, you
make it easier to either reproduce the bug or spot the false maneuver.

Are you having the same problem when starting vim with no startup scripts as
follows:

    gvim -N -u NONE


Also,
    1. please respond on the mailing list as long as you are not straying
off-topic. You can do that by using "Reply to all" rather than "Reply to
sender";
    2. please use plain text rather than HTML. (The Vim lists reject HTML
mail anyway).


Best regards,
Tony.