Bug 250658 - Kate not changing existing encoding to default one on save.
Summary: Kate not changing existing encoding to default one on save.
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: encoding (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 13:54 UTC by Fest
Modified: 2011-06-25 20:42 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 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.