Re: Setting encoding in Kate

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

 



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

and

/* kate: encoding utf-8 */

Cheers,
Kevin

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

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


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux