I have set my system to use en_US.UTF-8. As word processor I use "Kate" with "Kedit" as editor. When I save a file either with "save" or with "save as", it is safed with UTF-8 encoding as it should be. If, however, I first safe the file to one destination (as UTF-8) and later safe it to another location with "save as", the system proposes "koi8-r" as encoding. "Kedit" alone behaves the same. Does anyone have an Idea why and how to correct that? Best regards Ulrich Ruess
Ulrich Ruess <utde@ms13.hinet.net> さんは書きました:
I have set my system to use en_US.UTF-8.
As word processor I use "Kate" with "Kedit" as editor.
When I save a file either with "save" or with "save as", it is safed with UTF-8 encoding as it should be. If, however, I first safe the file to one destination (as UTF-8) and later safe it to another location with "save as", the system proposes "koi8-r" as encoding.
"Kedit" alone behaves the same.
Does anyone have an Idea why and how to correct that?
It is a known bug in kwrite/kate/kedit which is fixed in very recent KDE versions (later than SuSE 9.0). From the SuSE bugzilla: http://bugzilla.suse.de/show_bug.cgi?id=27563 Product Version Platform Component Involved People Status Assignee: Go to last kde-maintainers@suse.de comment SuSELinux 9.0-final All KDE Reporter: REOPENED View Bug gernot@hillier.de (Gernot Activity Hillier) Format For Printing Summary, Comments Summary: [kwrite uses wrong default encoding for saving in UTF-8 locales ] Initial Comment From Dr. Mike Fabian 2003-06-26 17:53 Additional Comment #1 From Dr. Mike Fabian 2003-06-26 17:56 How to reproduce: LC_ALL=de_DE.UTF-8 kwrite & Now type Österreich (first letter is O-umlaut). Click on the diskette icon to save the file. The dialog to select the file name shows "koi8-r" encoding at the top right instead of "utf8". If this is not corrected manually, the file will be garbled on saving. Additional Comment #2 From llunak@suse.cz 2003-08-14 16:30 Created an attachment (id=5451) kdelibs patch This patch seems to fix it (backported from HEAD). I'll check with the maintainer and backport to KDE_3_1_BRANCH. Additional Comment #3 From llunak@suse.cz 2003-08-18 12:54 Checked and backported to KDE_3_1_BRANCH. Additional Comment #4 From Dr. Mike Fabian 2003-09-01 15:19 I verified that it works in STABLE. Thank you! Additional Comment #5 From Stephan Kulow 2003-09-08 17:15 then why oh why do you leave the bug open? Additional Comment #6 From Dr. Mike Fabian 2003-09-08 18:11 I forgot to close it. Sorry! * *** This line was wrapped by Bugzilla Reopened by gernot@hillier.de at Wed Nov 19 22:17:51 2003, took initial reporter mfabian@suse.de to cc Additional Comment #8 From Gernot Hillier 2003-11-19 22:17 I can still reproduce this on a updated and a freshly installed SL 9-final. To reproduce: 1. open any file in kwrite 2. Use "Save as", choose anything. 3. Use "Save as" again to choose another file, now you should see "koi8-r" chosen as encoding. Have trashed me some files by doing this :-)) (Yes, I know you should'nt use kwrite instead of "cp" - but well, I do... ;-) ) Additional Comment #9 From Dr. Mike Fabian 2003-11-27 12:00 I can reproduce what Gernot reports on SuSE 9.0 final as well which has the following kwrite version: mfabian@gregory:~$ kwrite --version Qt: 3.2.1 KDE: 3.1.4 KWrite: 4.1 mfabian@gregory:~$ But I cannot reproduce it on STABLE (current development version of SuSE Linux anymore which has the following version of kwrite: mfabian@magellan:~$ kwrite --version Qt: 3.2.3 KDE: 3.1.93 (CVS >= 20031111) KWrite: 4.2 mfabian@magellan:~$ I.e. it appears to be fixed in recent KDE versions. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (2)
-
Mike FABIAN
-
Ulrich Ruess