diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index c738ca0261..8535dd7b5d 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2005-04-08 Angus Leeming + + * QAbout.C (build_dialog): specify that the CREDITS data is + encoded in ISO-8859-1 (latin1). + 2005-03-30 Jean-Marc Lasgouttes * ui/QCitationDialogBase.ui: fix typo in tooltip diff --git a/src/frontends/qt2/QAbout.C b/src/frontends/qt2/QAbout.C index 74a6fef243..6975b8cb28 100644 --- a/src/frontends/qt2/QAbout.C +++ b/src/frontends/qt2/QAbout.C @@ -20,6 +20,7 @@ #include #include +#include #include #include "QAboutDialog.h" @@ -96,7 +97,16 @@ void QAbout::build_dialog() } #endif - dialog_->creditsTV->setText(toqstr(out.str())); + // Try and grab the latin1 codec + QTextCodec * const codec = + QTextCodec::codecForName("ISO8859-1"); + if (!codec) + lyxerr << "Unable to find ISO8859-1 codec" << std::endl; + + QString const qtext = codec ? + codec->toUnicode(out.str().c_str()) : + toqstr(out.str()); + dialog_->creditsTV->setText(qtext); // try to resize to a good size dialog_->copyright->hide(); diff --git a/status.13x b/status.13x index b76306dfd7..ef5c5f29ef 100644 --- a/status.13x +++ b/status.13x @@ -109,6 +109,8 @@ What's new - Fix binding of Shift-Tab, which was broken on some systems. +- Enable the display of accented characters in the Help->About dialog. + * Configuration/Installation: