str = new char[strlen(c) + 1];
strncpy(str, c, strlen(c));
+str[strlen(c)] = 0;
+
msg = strchr(str, ':');
if (msg)
char charsetF[255];
strncpy(charsetF, nl_langinfo(CODESET), 255);
-char * charsetT = "koi8-r";
+char * charsetT = "koi8-ru";
size_t nconv = 1;