--- everybuddy-current/src/chat_window.c~	Sun Dec 10 03:06:27 2000
+++ everybuddy-current/src/chat_window.c	Sun Dec 10 03:07:54 2000
@@ -90,7 +90,10 @@
 	if( conv_desc != (iconv_t)(-1) )
 	{
 	    ptr_src_text = source_text;
-	    inleft = outleft = strlen(source_text) + 1;
+	    inleft = strlen(source_text) + 1;
+	    /* 'inleft*2' e.g. for 'Latin-x' to 'UTF-8', 
+	       which is 1-byte to 2-byte recoding */
+	    outleft = inleft * 2;
 		
 	    iconv(conv_desc, &ptr_src_text, &inleft, 
 			    &ptr_recoded_text, &outleft);
