Bug 16886 - qt input is forced to latin1 and hence broken for other encodings
Summary: qt input is forced to latin1 and hence broken for other encodings
Status: CLOSED FIXED
Alias: None
Product: kxkb
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 1.9.8
Platform: unspecified FreeBSD
: NOR grave
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
: 188939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2000-12-11 14:18 UTC by Ričardas Čepas
Modified: 2009-05-20 13:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ričardas Čepas 2000-12-11 14:03:38 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kxkb
Version: 1.9.8 (KDE 2.0.1)
Severity: grave
Compiler: gcc version 2.95.2 19991024 (release)
OS: FreeBSD 4.1.1-STABLE i386 (compiled sources)

kxkb overrides qt_input_encoding property and sets it to latin1.  This breaks input if locale
uses some other encoding.  Commenting out this code cures the problem.

--- extension.cpp.orig  Thu Oct 19 00:30:32 2000
+++ extension.cpp       Mon Dec 11 15:18:06 2000
@@ -818 +819 @@

   p->start(KProcess::DontCare);

-  const char * enc = encoding.latin1();
+  /*const char * enc = encoding.latin1();
   XChangeProperty( dpy qt_xrootwin() qt_input_encoding XA_STRING 8
                   PropModeReplace (unsigned char *)enc strlen(enc) );
+                  */
 }
Comment 1 Andriy Rysin 2002-01-03 21:08:49 UTC
this has been fixed some time ago
closing

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
Comment 2 A. Spehr 2009-05-20 13:12:12 UTC
*** Bug 188939 has been marked as a duplicate of this bug. ***