Bug 154375 - Even if ISO8859-1 is checked, files are saved under UTF-8
Summary: Even if ISO8859-1 is checked, files are saved under UTF-8
Status: CONFIRMED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 13:51 UTC by Lionel
Modified: 2011-04-02 10:37 UTC (History)
2 users (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 Lionel 2007-12-20 13:51:11 UTC
Version:           Kompare 3.4, under Xubuntu (download from depot universe) (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

I use Kompare 3.4 with files encoded in ISO8859-1, while my environment is UTF-8.
A the first window, where I choose the files to compare I also choose encodage ISO 8859-1. The files are opened correctly as ISO files.

But when I save the modified file, it is saved under UTF-8 instead of ISO...

I thing this occurs wrongly because of the correction of bug nĀ°95054 (http://bugs.kde.org/show_bug.cgi?id=95054).

I suppose that in order to fix the #95054 bug, the corrector has always made a save under UTF-8 ?

Thanks
lionel
Comment 1 Kevin Kofler 2007-12-20 14:11:48 UTC
No, we didn't make the change in that dumb way. Choosing the character set should actually do something useful now. The fix for bug 95054 was committed yesterday, that's way after 3.5.8 was released. This is probably a separate bug (unless Ubuntu is using a broken patch for #95054), I will look into this.
Comment 2 Kevin Kofler 2007-12-20 14:17:58 UTC
I looked at the source, it is indeed a separate issue (neither caused nor fixed by yesterday's encoding-related fixes), the encoding is ignored entirely when saving. (It's only used for reading.)
Comment 3 Lionel 2007-12-20 17:53:59 UTC
You are right, this is not because of what was done those last days : I've had this this problem for at leat two months (since I have installed it). Sorry for having said something wrong, that was only in order to solve the problem.