Version: 4.4 (using KDE 3.3.89) (using KDE Devel) Installed from: Compiled sources Compiler: gcc (GCC) 3.4.0 OS: Linux Webpage is webcvs http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kde-i18n/hu/data/kdeedu/khangman/animals.kvtml Click on download on this page then select Open with 'KWrite' The file gets opened in KWrite. Using the View menu -> Set Encoding change from auto to utf8. The file is not utf8. If you click on Download and save the file on your disk, you open KWrite, you open the file and View -> setEncoding utf8, utf8 is indeed set. So the bug is related in my opinion to the fact that the file is temporarily cached. Anders confirmed the behaviour
kate part honors the encoding provided by the server on loading, this means if servers says it is .... we will use ....
how to fix it: -allow both in config dialog and in file dialog to select an "auto" mode, default to this -only use provided encoding by the server if we are in auto mode, otherwise fall back to give encoding
-allow both in config dialog and in file dialog to select an "auto" mode, default to this in config dialog, in Open/Save I set Encoding on Unicode. I don't see 'default' here. Where is the setting you mention? -only use provided encoding by the server if we are in auto mode, otherwise fall back to give encoding I don't understand this. So you're saying that it's because of my settings that this file does not open correctly. The View -> SetEncoding is on Auto but the file is not opened as utf-8.
no, you get me wrong, this was only for the devs: how to fix this :) it can't be done in current kate version, as the charset provided by the server will always be used
should be fixed in cvs now