summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--engines/libguess.c1
-rw-r--r--examples/rcc.xml12
2 files changed, 12 insertions, 1 deletions
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 @@
<Engine>western</Engine>
</Engines>
</Language>
+ <Language name="sv">
+ <FullName>Swedish</FullName>
+ <FullName locale="ru">Шведский</FullName>
+ <Charsets>
+ <Charset>ISO8859-1</Charset>
+ <Charset>UTF-8</Charset>
+ <Charset>CP1252</Charset>
+ </Charsets>
+ <Engines>
+ <Engine>western</Engine>
+ </Engines>
+ </Language>
</Languages>
<Options>
<Option name="LEARNING_MODE">