aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 51bbe0a..eb3c0b4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -307,6 +307,11 @@ main(int argc, char **argv)
* Important for Unicode handling in curses and glib.
* In particular, in order to accept Unicode characters
* in option strings.
+ *
+ * NOTE: Windows 10 accepts ".UTF8" here, so the "ANSI"
+ * versions of win32 API functions accept UTF-8.
+ * We want to support older versions, though and
+ * glib happily converts to Windows' native UTF-16.
*/
setlocale(LC_ALL, "");