aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-07-25 10:53:45 +0000
committerGitHub <noreply@github.com>2023-07-25 10:53:45 +0000
commit5a18e3e757539dd0e7cfa12ef4177db2d6097afd (patch)
tree18a3d76ee313514d1332bdc0fb38d24400473b65
parenta5b78ff089a28651282d765349ede783b1a80fa9 (diff)
parentb0ce7ede1323c529c4f34cf374d43020eeec803f (diff)
downloadbusybox-w32-5a18e3e757539dd0e7cfa12ef4177db2d6097afd.tar.gz
busybox-w32-5a18e3e757539dd0e7cfa12ef4177db2d6097afd.tar.bz2
busybox-w32-5a18e3e757539dd0e7cfa12ef4177db2d6097afd.zip
Merge pull request #346 from avih/win32-unicode-version
win32: version with UTF8 manifest: add '(Unicode on/off)'
-rw-r--r--libbb/appletlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 9a291a93a..1c135fde7 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -887,6 +887,10 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
887 dup2(1, 2); 887 dup2(1, 2);
888 full_write2_str(bb_banner); /* reuse const string */ 888 full_write2_str(bb_banner); /* reuse const string */
889#if ENABLE_PLATFORM_MINGW32 889#if ENABLE_PLATFORM_MINGW32
890# if ENABLE_FEATURE_UTF8_MANIFEST
891 full_write2_str(GetACP() == CP_UTF8 ? " (Unicode on)"
892 : " (Unicode off)");
893# endif
890 full_write2_str("\n"); 894 full_write2_str("\n");
891#else 895#else
892 full_write2_str(" multi-call binary.\n"); /* reuse */ 896 full_write2_str(" multi-call binary.\n"); /* reuse */