[PATCH 2/3] chcp: Return the active code page when called without arguments. (original) (raw)
Erich E. Hoover erich.e.hoover at gmail.com
Tue Dec 10 09:26:24 CST 2019
- Previous message (by thread): [PATCH v3 1/3] chcp: Add a stub application for changing the codepage.
- Next message (by thread): [PATCH 3/3] chcp: Set the global codepage when called with an argument.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
After doing some sleuthing on MSDN, chcp treats the input console code page as the "active" code page (GetConsoleCP instead of GetACP). This will appease applications that expect chcp to return the "active" console code page.
Best, Erich -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-chcp-Return-the-active-code-page-when-called-without.patch Type: text/x-patch Size: 938 bytes Desc: not available URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191210/9f256a72/attachment.bin>
- Previous message (by thread): [PATCH v3 1/3] chcp: Add a stub application for changing the codepage.
- Next message (by thread): [PATCH 3/3] chcp: Set the global codepage when called with an argument.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]