Bug 179912 - opening files with different character encoding
Summary: opening files with different character encoding
Status: RESOLVED DUPLICATE of bug 125618
Alias: None
Product: kate
Classification: Applications
Component: encoding (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 16:05 UTC by Peter Szabados
Modified: 2010-02-20 13:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Szabados 2009-01-07 16:05:11 UTC
Version:           3.1.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

My default character encoding is UTF8, and if I want to open a file with ISO8859-2 encoding, Kate opens it in the default encoding, and I get a warning that it contains illegal characters. That's OK.
Here comes the problem: when I set in the open dialog that I want to use ISO8859-2 instead of UTF8, it still opens the file in UTF8 encoding and gives me the warning of illegal characters.
Comment 1 Wang Hoi 2009-01-25 09:44:27 UTC
Please disable encoding detection.

Settings->Configure Editor->Open/Save->Encoding autodetection
please choose "Disabled"

the reason is encoding detection happens "before" your encoding selection in "open file" dialog, the reason is that the "open file" dialog doesn't provide an option "disable encoding detection", and i thought encoding auto detection works right most ways, you only need to force encoding in rare situations.
Comment 2 Dominik Haumann 2010-02-20 13:21:53 UTC
selecting an encoding works for KDE 4.5. The encoding auto detection seems to be broken, this is reported in bug #222195.

This is a duplicate of bug #125618.

*** This bug has been marked as a duplicate of bug 125618 ***