El Martes 15 Febrero 2005 16:36, Zsolt Rizsanyi escribió: > On Tuesday 15 February 2005 15.52, Ricky Ng-Adam wrote: > > share/apps/kate/metainfos:Encoding=ISO 8859-1 > > share/apps/kate/metainfos:Encoding=ISO 8859-1 > > share/config/katerc:Encoding=ISO 8859-1 > > share/config/kilerc:Encoding=ISO 8859-1 > > share/config/quantarc:Default encoding=ISO 8859-1 > > > > Should it be necessary to manually delete the file? Why does it keep an > > Encoding directive? > > I didn't check it for others but eg. in kate you can set the desired > encoding value by View|Set Encoding. If you set that to Auto then it > should be able to open your file. The default value is Auto. If you set it > to some other value, then you expect all the files you open to be of that > encoding. > How did your setting end up as ISO 8859-1 instead of Auto I don't know. If > I remember correctly then long ago kate did not have setting for auto > encoding. So that could be the reason.
Kate detection is special, it remembers the last option you set. Test: write something, tell it's chinnese, then auto. Close and reopen. You see the prety chinnese symbols, and codification is auto.