Skip to content

Commit

Permalink
Fixed issue 81
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@215 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
theraysmith committed Dec 30, 2008
1 parent 67da130 commit e79302c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions training/unicharset_extractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <wctype.h>
#define USING_WCTYPE
#endif
#include <locale.h>

#include "unichar.h"
#include "unicharset.h"
Expand Down Expand Up @@ -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(" ");

Expand Down

0 comments on commit e79302c

Please sign in to comment.