On Fri, Sep 15, 2006 at 10:25:15AM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> On Thu, Sep 14, 2006 at 09:10:08PM +0200, Joost Verburg wrote:
> >> Uwe Stöhr wrote: >The problem occured in february this year when
> >> MiKTeX changed the >hyperref driver to dvips as this was
> >> recommended by the LaTeX people. >(TeXLive uses dvips as driver for
> >> years). Unfortunately the dt2dv/dv2dt >programs used by clean_dv.py
> >> stumble over this.
> >> 
> >> So what are we going to do for the 1.4.3 release? Is anyone going
> >> to fix dt2dv and dv2dt?
> 
> Enrico> The attached patch fixes the problem reported by Uwe. I am
> Enrico> afraid but with mingw/cygwin the setlocale() thing doesn't
> Enrico> really work, so I always assume iso-8859-1 (latin1).
> 
> Very interesting! Could you tell us what the problem was?

The characters with code > 127 were read as negative numbers and
the isprint test was failing when a non-ascii char was encountered.

> Does it fix the two clean_dvi related bugs?

I think that the two clean_dvi bugs are really the same bug and this
patch fixes both. See also the comment I added to
http://bugzilla.lyx.org/show_bug.cgi?id=2836

-- 
Enrico

Reply via email to