From e79302cfe4ee778cd9c61fe655a234ee86443b9e Mon Sep 17 00:00:00 2001 From: theraysmith Date: Tue, 30 Dec 2008 21:28:08 +0000 Subject: [PATCH] Fixed issue 81 git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@215 d0cd1f9f-072b-0410-8dd7-cf729c803f20 --- training/unicharset_extractor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/training/unicharset_extractor.cpp b/training/unicharset_extractor.cpp index 43b7f1a01e..fd6ea52f96 100644 --- a/training/unicharset_extractor.cpp +++ b/training/unicharset_extractor.cpp @@ -35,6 +35,7 @@ #include #define USING_WCTYPE #endif +#include #include "unichar.h" #include "unicharset.h" @@ -83,6 +84,7 @@ int main(int argc, char** argv) { STRING unicharset_file_name; UNICHARSET unicharset; + setlocale(LC_ALL, ""); // Space character needed to represent NIL classification unicharset.unichar_insert(" ");