[FEATURE] Added support for non-Latin characters in stdout (#1056)

* Update ccextractor.c

* Update CHANGES.TXT
This commit is contained in:
MakarovGCI2018 2018-12-14 22:36:35 +02:00 committed by Carlos Fernandez Sanz
parent 5a8758fdd2
commit 74eefaeea7
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@
- Fix: Enable printing hdtv stats to console.
- Fix: Many typos in comments and output messages
- Fix: Ignore Visual Studio temporary project files
- New: Add support for non-Latin characters in stdout
0.87 (2018-10-23)
-----------------

View File

@ -5,6 +5,7 @@ License: GPL 2.0
*/
#include "ccextractor.h"
#include <stdio.h>
#include <locale.h>
volatile int terminate_asap = 0;
@ -502,6 +503,7 @@ int api_param_count(struct ccx_s_options* api_options)
int main(int argc, char* argv[])
{
setlocale(LC_ALL, "");
struct ccx_s_options* api_options = api_init_options();
check_configuration_file(*api_options);
#ifdef PYTHON_API