Encoding patch; please commit (#46178)
"Виктор С. Грищенко \(Viktor S. Grichenko\)" <[email protected]> Wed, 21 Aug 2002 20:36:23 +0600
| Newsgroups | gmane.comp.kde.devel.kate |
|---|---|
| Message-ID | <[email protected]> |
Hello!
HEAD Kate have a bug which annoys me since 3.0 was released.
Sometimes default encoding in KateFileDialog combo turns into
pt154 (from my locale-default Cp 1251).
It's because KateFileDialog constructor assumes encoding
parameter to be in QT form ("CP 1251") while it could be KGlobal
style "Cp 1251". It is also interesting that KateFileDialog's
own exec() returns "Cp 1251".
Patch for kfiledialog.cpp is attached (correctly accepts both
capitalizations).
Also I've made some clean-up in KateViewManager removing
m_encoding variable as unnecessary and compacting openURL
method. Patches are also applied.
--
best regards, V.S.G.
katefiledialog.cpp.patch.bz2
(application/x-bzip2, 366 B) - not displayed
kateviewmanager.cpp.patch.bz2
(application/x-bzip2, 1.5 KB) - not displayed
kateviewmanager.h.patch.bz2
(application/x-bzip2, 420 B) - not displayed