Bug 142725

Summary: encoding variable is ignored
Product: [Applications] kate Reporter: Serghei Amelian <serghei.amelian>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sebastian.held
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Serghei Amelian 2007-03-09 12:50:33 UTC
Version:           2.5.6 (using KDE 3.5.6, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.20.1

How to reproduce:

1) select "Tools -> Encoding -> Cyrilic"
2) write some cyrilic characters (for example "область")
3) put in head of file // kate: encoding cp-1251;
4) save the file
5) close kate
6) launch kate
7) load previos saved file
8) check "Tools -> Encoding": the encoding is correctly selected

Problem: the text is rended with default encoding (for example UTF-8).

Expected Behaviour: the text MUST be rended as "cp-1251"
Comment 1 Serghei Amelian 2007-03-09 13:02:52 UTC
It's better to check with kwrite or renamed the saved file, before launch kate again (seem that kate remember the file state and open correctly).
Comment 2 Sebastian Held 2007-06-18 13:27:45 UTC
confirmed: kwrite v4.5.7; KDE v3.5.7; Gentoo
Comment 3 Thomas Friedrichsmeier 2007-12-13 21:29:58 UTC

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