... When I save a document, I cannot open it. ...Do you see any error messages if you open that document through a terminal:
Ted document
tc@box:/mnt/sdb1/tce$ Ted test.rtf
textConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
docRtfWriteText.c(160) produced=-1
When I save a document I get this error several times.docRtfReadText.c(104) upto=-1
docRtfReadRtf.c(358) len=1
docRtfReadRtf.c(416) len=1
docRtfReadRtf.c(723) controlWord="fcharset" res=-1
docRtfReadRtf.c(560) rval=-1
docRtfReadFontTable.c(215) rcw->rcwWord="f" arg=0
docRtfReadRtf.c(159) rrc->rrCurrentLine=4 rcw->rcwWord="f" arg=0
docRtfReadRtf.c(780) res=-1 controlWord="f"
docRtfReadRtf.c(560) rval=-1
docRtfReadFontTable.c(304) rcw->rcwWord="fonttbl" arg=-1
docRtfReadRtf.c(159) rrc->rrCurrentLine=4 rcw->rcwWord="fonttbl" arg=-1
docRtfReadRtf.c(780) res=-1 controlWord="fonttbl"
docRtfReadRtf.c(560) rval=-1
docRtfRead.c( 66) rcw->rcwWord="rtf" rval=-1
docRtfReadRtf.c(159) rrc->rrCurrentLine=4 rcw->rcwWord="rtf" arg=1
docRtfRead.c(134) 1=1
^CtextConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
docRtfWriteText.c(160) produced=-1
textConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
docRtfWriteText.c(160) produced=-1
I think CP1252 is a Windows character set, and FrUtf8 might refer to a French UTF8 encoding. Maybe you need and extensiontextConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
tc->tcNativeEncodingName="CP1252"
tc->tcIconvFrUtf8=0xffffffffffffffff
That 0xffffffffffffffff looks like a bad pointer, or maybe simply an error since 0xffffffffffffffffff is hex for -1.That is going to be a problem. The programming language C says nothing to me
I had never discovered that. How did you find out that an extension was missing?It involved 1 part detective work plus 1 part dumb luck.
textConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
if ( (iconv_t)tc->tcIconvFrUtf8 == (iconv_t)-1 )
{
SXDEB(tc->tcNativeEncodingName,tc->tcIconvFrUtf8);
return -1;
tc->tcIconvFrUtf8= (struct TextConverterImpl *)
iconv_open( tc->tcNativeEncodingName, "UTF-8" );
iconv --list
will tell you what character sets are available. I checked to see which extension provided iconv, it was glibc_apps.tcz. But thatI checked to see which extension provided iconvHow did you do that?