Dear my friends... I am making an application with Qt and SuSE 9.1. I want to read the content of file "otentik.txt", like this : QString lines, line; QFile file; file.flush(); QDir::setCurrent( "/localhome/patrixlinux/arsip/proyek/qt/kvclient" ); file.setName( "otentik.txt" ); file.open(IO_ReadWrite); int i = 0; QTextStream str(&file); line = file.readLine(lines, 50); lines = QString::fromLatin1(line); double gede = sizeof(file); QString cetak = QString("file otentik %1 = %1 . gedenya =%1") .arg( QString::number(i++) ) .arg( lines.latin1() ) .arg( QString::number(gede) ); statusBar()->message(cetak, 300000); printf(cetak); file.close(); I wrote one line into the file like this: QString taro = QString("%1;%1;") .arg(un) .arg(pw); f.writeBlock( taro, qstrlen(taro) ); compilation no error. But the reading result only "y" with a weird wave sign on the top of the "y". Why is it so? Please tell me. __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail