aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-02-02 15:57:59 +0000
committerRon Yorston <rmy@pobox.com>2019-02-02 16:21:12 +0000
commit93a63809f9146e39a1c36bdccdfb8ef3b7046c98 (patch)
tree41adedb1f386dce9c163ff1bc634a725e8e1c8b8 /Config.in
parent0e26e2ff3b87f8db635d3c7dca23f441a3961fd2 (diff)
downloadbusybox-w32-93a63809f9146e39a1c36bdccdfb8ef3b7046c98.tar.gz
busybox-w32-93a63809f9146e39a1c36bdccdfb8ef3b7046c98.tar.bz2
busybox-w32-93a63809f9146e39a1c36bdccdfb8ef3b7046c98.zip
win32: add support for the euro currency symbol
The euro currency symbol was added to some OEM code pages. See: https://www.aivosto.com/articles/charsets-codepages-dos.html Add a configuration option (enabled by default) to support this. When enabled: - The read_key() function requests wide character key events. This allows the euro symbol to be entered regardless of the console OEM code page, though it needs to be available in the ANSI code page. - Conversions between OEM and ANSI code pages in winansi.c are modified to work around a bug in the Microsoft routines. - If the OEM code page is 850 when BusyBox starts it's changed to 858. This is the only currently supported OEM code page. Also, the shell read builtin is modified to use read_key() whenever input is being taken from the console.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 5bd98aa23..0318a6aff 100644
--- a/Config.in
+++ b/Config.in
@@ -454,6 +454,15 @@ config FEATURE_ICON_ALL
454 454
455endchoice 455endchoice
456 456
457config FEATURE_EURO
458 bool "Support the euro currency symbol (0.5 kb)"
459 default y
460 depends on PLATFORM_MINGW32
461 help
462 Support the entry and display of the euro currency symbol. This
463 requires the OEM code page to be 858. If the OEM code page of
464 the console is 850 when BusyBox starts it's changed to 858.
465
457comment 'Build Options' 466comment 'Build Options'
458 467
459config STATIC 468config STATIC