execute_process: Add ENCODING option for Windows child process output

Different applications can use different output encodings.
This commit is contained in:
Dāvis Mosāns
2016-11-23 14:11:40 +02:00
committed by Brad King
parent 076aef8e45
commit 2ed473b3b8
16 changed files with 125 additions and 2 deletions
+7
View File
@@ -27,6 +27,13 @@ public:
OEM
};
/**
* Find encoding enum value for given encoding \a name.
* \param name a encoding name.
* \return encoding enum value or Auto if \a name was not found.
*/
static Encoding FindEncoding(std::string name);
/// The code page that is used as internal encoding to which we will encode.
static unsigned int defaultCodepage;