Thanks, I'll try QLineEdit->text().toASCII(); function.