--- gforth/engine/main.c 2010/01/08 18:54:34 1.227 +++ gforth/engine/main.c 2010/02/14 18:13:31 1.228 @@ -46,8 +46,8 @@ #endif #include "io.h" #include "getopt.h" -#ifdef STANDALONE -/* #include */ +#ifndef STANDALONE +#include #endif /* output rules etc. for burg with --debug and --print-sequences */ @@ -2339,6 +2339,8 @@ int main(int argc, char **argv, char **e setvbuf(stdout,NULL,_IONBF,0); } #endif + setlocale(LC_ALL, ""); + setlocale(LC_NUMERIC, "C"); #else prep_terminal(); #endif