rem: std::cout << line.local8Bit() << std::endl;
add: std::cout << line.data() << std::endl;
context: int codify( KCmdLineArgs *args ){  if ( args->count() != 1 ) {    std::cerr << "Usage: kode --codify <sourcecodefile>" << std::endl;    return 1;  }  QString filename = args->arg( 0 );  QFile f( filename );  if ( !f.open( IO_ReadOnly ) ) {    kdError() << "Unable to open file '" << filename << "'." << endl;    return 1;              } else {    std::cout << "KODE::Code code;" << std::endl;    QTextStream ts( &f );    QString line;    while( !( line = ts.readLine() ).isNull() ) {      line.replace( "\\", "\\\\" );       line.replace( "\"", "\\\"" );      line = "code += \"" + line;      line.append( "\";" );      std::cout << line.local8Bit() << std::endl;    }  }  return 0;}