make khtml/misc/decoder.* public

Anders Lund anders at alweb.dk
Mon Mar 5 15:45:17 GMT 2007


On Monday 05 March 2007, Olaf Schmidt wrote:
> [ Anders Lund, Mo., 5. Mär. 2007 16:05 ]
>
> > That is not possible. We may be able to suggest a *compatible* encoding.
>
> My suggestion would be a warning dialogue that allows the user to select a
> compatible encoding, and that defaults to the encoding used in the meta
> data (unless there is a conflict).

What meta data? We are dealing with simple text files.

> > (Any encoding claimed by the file only might be correct, even if we look
> > for it)
>
> If the encoding claimed by the file is invalid, then there should always be
> a warning. For example, if I open an HTML file that claims to be latin1 but
> actually uses utf8, then Kate should warn me (even if my system default is
> utf8).

This would happen automatically I think.

-- 
Anders

www: http://www.alweb.dk
jabber: anderslund at jabber.dk




More information about the kde-core-devel mailing list