[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: different locale based on directory
From:       Florian Kulzer <florian.kulzer+debian () icfo ! es>
Date:       2009-05-05 10:04:29
Message-ID: 20090505100429.GA8501 () pc0197
[Download RAW message or body]

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   |


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic