Make UTF-8 default encoding

This commit is contained in:
nxshock 2024-03-09 21:59:01 +05:00
parent f9c1b89608
commit 05ec7868a9

View File

@ -252,7 +252,7 @@ func (f *TMainForm) OnFormCreate(sender vcl.IObject) {
f.ExportFormatComboBox.SetItemIndex(0) f.ExportFormatComboBox.SetItemIndex(0)
// Charsets ---------------------------------------------------------------- // Charsets ----------------------------------------------------------------
for _, v := range []string{string(EncodingWin1251), string(EncodingUtf8)} { for _, v := range []string{string(EncodingUtf8), string(EncodingWin1251)} {
f.CharsetComboBox.Items().Add(v) f.CharsetComboBox.Items().Add(v)
} }
f.CharsetComboBox.SetItemIndex(0) f.CharsetComboBox.SetItemIndex(0)