Newer
Older
DocumentLibrary / src / DocumentLibrary / text.c.patch
*** wv/text.c	Sun Jan 21 16:54:18 2001
--- text.c	Thu Mar 15 15:23:03 2001
***************
*** 397,403 ****
  
      if(wv_iconv(iconv_handle, &ibuf, &ibuflen, &obuf, &obuflen) == (size_t)-1)
        {
!         wvError(("iconv failed errno: %d, to:%s from:%s\n",errno, t_code, f_code));
  	/* I'm torn here - do i just announce the failure, continue, or copy over to the other buffer? */
  
  	/* errno is usually 84 (illegal byte sequence)
--- 397,403 ----
  
      if(wv_iconv(iconv_handle, &ibuf, &ibuflen, &obuf, &obuflen) == (size_t)-1)
        {
!         /*wvError(("iconv failed errno: %d, to:%s from:%s\n",errno, t_code, f_code));*/
  	/* I'm torn here - do i just announce the failure, continue, or copy over to the other buffer? */
  
  	/* errno is usually 84 (illegal byte sequence)