Qt-interest Archive, February 2007
about Qt4.2.1 and Linux
Message 1 in thread
Hi!
I've a program written with Qt4.2.1.
In Linux MCBC with window manager Elk i have strange behavior: in main window
all russian letters shown nornally, but in QDialog's and floated QDockWidgets
they have incorrect encoding. It seems like using encoding CP1251 in system
with encoding KOI8-R. When QDockWidget is not floated (it's docked in main
window) - it shown with correct encoding.
Do Qt have separate character encoding settings for every window?
--
[ signature omitted ]
Message 2 in thread
Hi,
> In Linux MCBC with window manager Elk i have strange behavior: in main window
What is MCBC (a Russian Linux distribution I guess) and what is Elk?
> all russian letters shown nornally, but in QDialog's and floated QDockWidgets
> they have incorrect encoding. It seems like using encoding CP1251 in system
> with encoding KOI8-R. When QDockWidget is not floated (it's docked in main
> window) - it shown with correct encoding.
>
> Do Qt have separate character encoding settings for every window?
Not that I know of. Note however that the frame of a top-level window is
managed by the window manager (this includes displaying the title passed
by the application to the window manager). It could happen that the
application and/or Qt and window manager expect different encodings. I
don't know whether that would be a Qt or a windows manager bug.
Are you able to reproduce that by modifying a Qt example such as:
examples/mainwindows/dockwidgets/
Are you able to reproduce that with a different window manager?
--
[ signature omitted ]