Ok, I've found way how to reproduce it.
1) create simple dialog application
2) in main.cpp add next lines:
QTextCodec *codec = QTextCodec::codecForLocale();
if (codec) {
codec->toUnicode("hello", 5);
}
3) compile and run.
Code above is just example.
Qt itself uses QTextCodec::toUnicode quite often (for example when we
create QSettings).
> Hi!
>
> i have the same problem as described here
> http://lists.trolltech.com/pipermail/qt4-preview-feedback/2008-December/000264.html
>
> Qt installed from git repo yesterday.
>
> some notices:
> - bug also mentioned in qstardict, tora, kchmviewer(without kde)
> - i can't reproduce it on new applications (create one in qt-creator) and
> trolltech's apps (like qtconfig)
> - its independent what input fields are used and on what form they contains
> - i can copy and paste not latin text from another application and it works
> fine.
>
> I think something recodes key codes in key events on the fly and it
> depends on some global application settings.
> I tried to find what cause this problem in Psi (psi-im.org) but unsuccessfully
>
> PS seems snapshot-users mailing list doesn't work properly
>
>
>
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback