Hi,

As for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517821

I think we should not bother vidir to be an encoding conversion program
just for small funny encoding situation.

latin1 is easy since it is auto selected by vim as fall back if they see
non-UTF8.  Whoever configured their editor to use UTF-8 only should know
how to disable it, .. I guess.  Also ....

For example, "vim" can be aliased to something like 
 "vim '+e ++enc=eucjp'"
then it forces to use eucjp.  You can do with any crazy encoding vim
supports, I think.  It works with "iso-2022-jp" and "latin1" "latin2" as
I check.

So all you have to o is make small shell script for each special case
encoding and set and export EDITOR to use these shell scripts which set
encoding for editor.  I think this trick should work for any
encoding-smart editors emacs and vim.

Let's keep moreutil as simple as possible and address corner cases with
flexible use of tool combination.

Osamu





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to