Setting encoding in Kate
realnc at gmail.com
Wed Sep 6 15:04:27 BST 2017
On 06/09/17 16:17, Burkhard Lück wrote:
> Am Montag, 4. September 2017, 22:46:44 CEST schrieb Nikos Chantziaras:
>> Is there a way to mark a file as using a specific encoding? Like some
>> string inside a C comment that Kate recognizes?
Alright. So, putting:
kate: encoding cp-1252
in .kateconfig works, whereas an in-file modeline doesn't.
However, I can't use a .kateconfig for this, since now *all* files in
the directory are opened with cp-1252 as the encoding, not just the ones
that actually are.
More information about the kde