From: <ba...@zo...> - 2002-11-04 15:55:37
|
>>>>> "Fred" == Fred L Drake, Jr <fd...@ac...> writes: Fred> I can't reproduce this at all (Python 2.0.1, 2.1.3, 2.2.2, Fred> 2.3a0), and don't see any obvious place where there's Fred> anything being done to the body text. Fred> Barry, does this smell like something locale-specific Fred> creeping in? ;-( I suspect so, because there's only two places I'm aware of that do ? replacement. One is in the unicode() builtin / unicode.encode() method, when the last argument is `replace'. But we don't use those anywhere (ht2html is decidedly non-i18n-aware). The other is in the browser, e.g. when Mozilla gets characters outside the page's charset and you've explicitly set the browser charset to us-ascii. But I think Thomas was giving samples of the .html file generated from the .ht. Other than that, I can't think of why those "funny" characters would get transformed. -Barry |