Bug 250658

Summary: Kate not changing existing encoding to default one on save.
Product: [Applications] kate Reporter: Fest <fest.in>
Component: encodingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: cullmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fest 2010-09-09 13:54:42 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

I had to change a lot of text file encodings lately (everything to utf-8). Problem that kwrite not changing existing encodings on save (to default set in option), instead text remains in original encoding.
To save change encoding, i had to create a blank file and copy-paste text there to get utf encoding to file.

Reproducible: Always

Steps to Reproduce:
1. Set UTF-8 encoding as default in setting (Open/Save menu).
2. Open file with different encoding.
3. Save file.

Actual Results:  
Encoding remains original.

Expected Results:  
Encoding is utf-8 now.
Comment 1 Christoph Cullmann 2011-06-25 20:42:53 UTC
That is not what that setting does. Kate should never reencode any text, its not designed for that, it will just try to use right encoding to open it.
If you want to change encoding on save, use the encoding drop down in the save dialog.