GrolfCry - 2005-09-15

If do Label with text on cyrillics then after save and closing report anymore is opened (ERROR!). Decision - decode report in UTF-8 in other editors/convertors.   Possible solve and so

File openrpt-1.1.1beta-source\OpenRPT\wrtembed\reportwindow.cpp

Line 692 (Function bool ReportWindow::save(QIODevice * iod) )
+add line

Full Function Text
bool ReportWindow::save(QIODevice * iod) {
    // ok lets do it
    if(iod->open(IO_WriteOnly)) {
        // now write it to the file
        QTextStream ts(iod);
        ts << document().toString();
        lastSaveToDb = FALSE;
        return TRUE;
    } else {
        //qDebug("Failed to open IODevice for writing.");
        QMessageBox::warning(this,tr("Report Writer"),
            tr("Unable to open/create file for writing!\n"
               "Save Failed! Check to make sure that you have\n"
               "permissions to the file you are trying to save to."),
            "Ok", 0, 0, 0, 0);
        return FALSE;