src/relpipe-tr-validator.cpp
branchv_0
changeset 4 fc58054da255
parent 3 8731263d44f1
--- a/src/relpipe-tr-validator.cpp	Sun Dec 02 20:17:46 2018 +0100
+++ b/src/relpipe-tr-validator.cpp	Mon Dec 03 16:11:41 2018 +0100
@@ -16,6 +16,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <cstdio>
 #include <cstdlib>
 #include <memory>
 
@@ -38,6 +39,8 @@
 using namespace relpipe::tr::validator;
 
 int main(int argc, char**argv) {
+	setlocale(LC_ALL, "");
+	CLI::untieStdIO();
 	CLI cli(argc, argv);
 	
 	int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR;