aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-03-17 13:20:53 +0000
committerRon Yorston <rmy@pobox.com>2023-03-17 13:20:53 +0000
commitcb50586aedc9725fb14dbb25263bba1598726037 (patch)
tree679fd1e914693d5c900243a780ab812e69a3f3ec /include
parent87e7e7b1e61caa87112e3cf6527b606086b6b688 (diff)
downloadbusybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.tar.gz
busybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.tar.bz2
busybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.zip
win32: delay adjusting code page
Commit 93a63809f9 (win32: add support for the euro currency symbol) caused all invocations of busybox-w32 to change code page 850 to 858. This has been known to cause problems with fonts in PowerShell (GitHub issue #207). Delay changing the code page until an i/o operation is imminent. Instances of PowerShell started by the `drop` applet during ssh login thus no longer have their code page adjusted.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 0ccced2a3..a94d90767 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -554,7 +554,6 @@ void qsort_string_vector_case(char **sv, unsigned count) FAST_FUNC;
554 554
555const char *get_busybox_exec_path(void); 555const char *get_busybox_exec_path(void);
556void init_winsock(void); 556void init_winsock(void);
557void init_codepage(void);
558 557
559int has_bat_suffix(const char *p); 558int has_bat_suffix(const char *p);
560int has_exe_suffix(const char *p); 559int has_exe_suffix(const char *p);