On Fri, Sep 15, 2006 at 06:15:17PM +0200, Enrico Forestieri wrote:
> On Fri, Sep 15, 2006 at 05:48:20PM +0200, Georg Baum wrote:
> > Enrico Forestieri wrote:
[...]
> > > However, I found that not all non-ascii chars cause problems and I can't
> > > understand why.
> >
> > Maybe because some are not printable in the current locale, and some are?
>
> No, there is no locale support on cygwin. Quoting the man page: "isprint
> returns non-zero if its argument is a printing character (`0x20'-`0x7E')."
> So it should return zero for any non-ascii character, but if I use
> \pdfauthor{à} dt2dv succeeds, whereas with \pdfauthor{ö} it fails.
> I plan to debug this strange thing.
I found that this is occurring when compiling dt2dv.exe using mingw.
When using a cygwin compiled version of dt2dv, it consistently fails
for every non-ascii char.
So, I'll leave the debug work to the mingw folks ;-)
Anyway, the patch I posted works for mingw, too.
--
Enrico