Hi Fven
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.
I downloaded the source package.
The error message says the error occurred in the file textConverter.c at line 432:
textConverter.c(432) tc->tcNativeEncodingName="CP1252" tc->tcIconvFrUtf8=0xffffffffffffffff
Line 432 (SXDEB .... ) which prints the error message occurred because tc->tcIconvFrUtf8 equaled -1 (0xffffffffffffffff):
if ( (iconv_t)tc->tcIconvFrUtf8 == (iconv_t)-1 )
{
SXDEB(tc->tcNativeEncodingName,tc->tcIconvFrUtf8);
return -1;
Looking further up in the file to see where tc->tcIconvFrUtf8 gets set to -1 (line 402) I find:
tc->tcIconvFrUtf8= (struct TextConverterImpl *)
iconv_open( tc->tcNativeEncodingName, "UTF-8" );
Reading the man file for iconv_open to see what this function does, I noticed it says running:
iconv --list
will tell you what character sets are available. I checked to see which extension provided iconv, it was glibc_apps.tcz. But that
didn't fix the problem.
Here comes the dumb luck part. I noticed the glibc_gconv.tcz which contained a bunch of character conversion libraries. So I
tried it and it worked. I then removed glibc_apps.tcz to verify it was not required as part of the fix.