On Mon,04.May.09, 19:46:39, Johannes Wiedersich wrote: > Hallo list! > > I have a "funny" tex-file (sty and tex) that requires the deprecated > latin1 encoding. (It was originally developed for lusers of another OS). > My system is lenny and utf-8. > > Is there a way to configure my editor [1] to use the latin1 encoding for > certain files or directories and utf-8 for all the rest?
How about a wrapper script (untested)? if [ `pwd` = $MY_DIR ] ; then LANG=... editor $@ else editor $@ fi Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature