From 05ec7868a99e1fe3d443c27fc91114372c3b7b84 Mon Sep 17 00:00:00 2001 From: nxshock Date: Sat, 9 Mar 2024 21:59:01 +0500 Subject: [PATCH] Make UTF-8 default encoding --- ui_main_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui_main_form.go b/ui_main_form.go index 851b0e3..a972dc3 100644 --- a/ui_main_form.go +++ b/ui_main_form.go @@ -252,7 +252,7 @@ func (f *TMainForm) OnFormCreate(sender vcl.IObject) { f.ExportFormatComboBox.SetItemIndex(0) // Charsets ---------------------------------------------------------------- - for _, v := range []string{string(EncodingWin1251), string(EncodingUtf8)} { + for _, v := range []string{string(EncodingUtf8), string(EncodingWin1251)} { f.CharsetComboBox.Items().Add(v) } f.CharsetComboBox.SetItemIndex(0)