Web lists-archives.com

Re: Setting encoding in Kate

On Monday, 2017-09-04, 22:46:44, Nikos Chantziaras wrote:
> Is there a way to mark a file as using a specific encoding? Like some
> string inside a C comment that Kate recognizes?

I think Kate does understand comments like this, I vaguely remember seeing 
some for giving hints on intentation.

So I've checked my KDE source and found this

// kate: encoding utf-8


/* kate: encoding utf-8 */


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.