Hi, The default output encoding of xpdf is Latin1, but that is almost never fine with nowadays' debian UTF-8 desktop. The default should just be the current locale, i.e. xpdf should - call setlocale(LC_ALL,"") - use the value returned by nl_langinfo(CODESET) - use iconv() for converting to the output encoding. Samuel