To answer my own question: It seems that preconv is not guessing the
correct encoding from the file with a single word in it.  If I specify -K
utf-8 everything works OK.

preconv -v reports: GNU preconv (groff) version 1.23.0 with iconv support
and with uchardet support

Is this an expected shortcoming of preconv - that if a file contains just a
single accented character, it won't guess it correctly? The original file
it failed on was a 2-page pdf, which has the word kataskeuê in the middle
of it.

Robert.

On Mon, Feb 19, 2024 at 10:52 AM Robert Goulding <robert.d.gouldin...@nd.edu>
wrote:

> I have been trying to figure this out all morning! I have a handout with
> the word "kataskeuê" in it. Every time I try to compile it (groff -Tpdf -k
> -ms) I get the warning: warning: special character 'u0053_0326' not defined
> (Same if I go the ps2pdf route)
>
>
> Try and compile this minimal file
>
> .LP
> kataskeuê
>
> Do you get a warning, and a weird character in the pdf?
>
> But *this *minimal file compiles just fine:
>
> .LP
> kataskeuê êéè
>
> No warnings, all the characters come out correct. What could be the
> reason? (Using groff 1.23.0)
>
> R.
>
> --
> Robert Goulding
> Director, John J. Reilly Center for Science, Technology, and Values;
> Assoc. Professor, Program of Liberal Studies,
> Fellow, Medieval Institute,
> University of Notre Dame.
>


-- 
Robert Goulding
Director, John J. Reilly Center for Science, Technology, and Values;
Assoc. Professor, Program of Liberal Studies,
Fellow, Medieval Institute,
University of Notre Dame.

Reply via email to