Adding encoding to MainWindow