From 0424450735ba3c00395876c28a7b58781d5c9b4a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 28 Jun 2007 09:54:11 +0000 Subject: Fixes - Suppress messages in LibGUESS engine - Swedish language is added to sample configuration --- engines/libguess.c | 1 - examples/rcc.xml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/engines/libguess.c b/engines/libguess.c index 4bf1dee..99f3755 100644 --- a/engines/libguess.c +++ b/engines/libguess.c @@ -28,7 +28,6 @@ rcc_autocharset_id guessDetect(rcc_engine_context ctx, const char *buf, int len) if (!len) len = strlen(buf); res = guess_cn(buf, len); if (!res) res = guess_tw(buf, len); - printf("%s\n",res?res:"null"); } } else res = NULL; diff --git a/examples/rcc.xml b/examples/rcc.xml index 51198da..2533649 100644 --- a/examples/rcc.xml +++ b/examples/rcc.xml @@ -230,6 +230,18 @@ western + + Swedish + Шведский + + ISO8859-1 + UTF-8 + CP1252 + + + western + +