iconv -f ISO-8859-1 -t UTF-8 ~/my_location/my_file.txt > ~/my_location/my_file_f_ISO-8859-1.txt
iconv -f CP1252 -t UTF-8 ~/my_location/my_file.txt > ~/my_location/my_file_f_CP1252.txt
iconv -f Windows-1252 -t UTF-8 ~/my_location/my_file.txt > ~/my_location/my_file_f_Windows-1252.txt
我在app.xaml文件中将此方法名称命名为Startup =“App_Startup”
答案 0 :(得分:1)
我认为,在您的 App.xaml 中,您有类似的内容:
StartupUri="app_startup"
但是您需要将 StartupUri 设置为某个window.xaml,如
<Application
...
StartupUri="MainWindow.xaml"
Startup="App_Startup"
...
>
</Application>