Enrico Forestieri wrote: > On Fri, Sep 15, 2006 at 03:54:12PM +0200, Georg Baum wrote: >> The full understanding statement applies to your fix as well IMO. How do >> you know that dt2dv can cope with non-ascii chars at all? > > Because isprint would not fail in a locale aware environment when the > locale is iso-8859-1 and its argument is 246 (รถ).
That assumes that the author actually knew that isprint() depends on the current locale. Given the age of the code I am not sure he did. > 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? Georg
