[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: different locale based on directory



On Mon, May 04, 2009 at 19:46:39 +0200, 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?
> 
> I wouldn't want to bother to change settings manually each time I open a
> file...
> 
> Thanks,
> Johannes
> 
> [1] I use kile, but if there are better ones to do the trick...

Kile should have an "Encoding" combo box in its file open dialog, which
allows you to specifiy a different encoding for each file that you open.
Choosing "cp 1250" works for me with old latex source files coming from
Windows; kile should keep the encoding when the file is saved again. (I
only use this feature very rarely, so I don't really know how reliable
it is.)

The encoding combo box should be below the "Filter" widget that limits
the filetypes listed.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: