diff --git a/native_client/stt.cc b/native_client/stt.cc index f173d951e..4f5accdbc 100644 --- a/native_client/stt.cc +++ b/native_client/stt.cc @@ -8,6 +8,7 @@ #include #include #include +#include #include "coqui-stt.h" #include "alphabet.h" @@ -340,6 +341,7 @@ CreateModelImpl(const char* aModelString, unsigned int aBufferSize = 0) { *retval = nullptr; + setlocale(LC_ALL, "en_US.UTF-8"); std::cerr << "TensorFlow: " << tf_local_git_version() << std::endl; std::cerr << " Coqui STT: " << ds_git_version() << std::endl;