On Sun, Dec 7, 2008 at 4:58 AM, Dave Dash <[EMAIL PROTECTED]> wrote: > > Sorry Karen my mistake for leaving that out, that reTagnormalizer just > filtered everything that wasn't alphanumeric, the full code is below. >
Actually I think it worked for me last night because I tested it using an iso8859-1 file encoding. Using utf-8 fails. You can make it work by specifying your docstring as a unicode literal, but then doctest generates UnicodeEncodeErrors whenever it tries to print expected output, so -v can't be used and any test errors are obscured by the unicode problem. There are at least a couple of Python issues open in this area, see: http://bugs.python.org/issue1293741 http://bugs.python.org/issue2811 Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

