Kenneth Reid Beesley <krbees...@gmail.com> writes:
> I have a little alias  gvim1252  set to
>
>       gvim -c “e ++enc=cp1252”

you'll want to add ++bad=keep to that; it should do mostly what you
asked for below with the <81> and such. It'll open the file in read-only
mode, and won't let you write the file until you've dealt with all the
bad characters. (If you try to set fenc to blank as the error message
proposes, it will write in the locale encoding (for me UTF-8) but leave
the bad characters alone.)

If this isn't acceptable, and the number of valid 80-9F characters is
small, you may consider using the latin1 encoding (all bytes are valid,
80-9F are control characters, and the rest are the same as cp1252)
instead.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to