Re: Settings from lang.sh causing garbled output in dialog when run from cmd.exe

2017-04-06 Thread David Macek
On 6. 4. 2017 16:22, Matt D. wrote: > On 4/6/2017 5:47 AM, David Macek wrote: >> Try calling `/proc/cygdrive/c/windows/system32/chcp.com 65001` before >> running `dialog ...`. Does that help? > > It does not. I tried setting the code page to 65001 in cmd and/or after > loading bash as a login sh

Re: Settings from lang.sh causing garbled output in dialog when run from cmd.exe

2017-04-06 Thread David Macek
On 6. 4. 2017 11:39, Matt D. wrote: > Why am I getting garbled output with this line present? Try calling `/proc/cygdrive/c/windows/system32/chcp.com 65001` before running `dialog ...`. Does that help? -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

Settings from lang.sh causing garbled output in dialog when run from cmd.exe

2017-04-06 Thread Matt D.
If I invoke a login shell from a Windows command prompt and run a dialog: dialog --no-cancel --inputbox "test" 0 0 "" I get garbled output. I do not have this issue when running from mintty. See the following image examples: http://imgur.com/a/Y4mEC http://imgur.com/a/7akZQ If I remove this l