Re: [BUGREPORT] broken comments.py
Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/[email protected]> Mon, 13 Oct 2008 20:24:10 +0200
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <81893f31190d43d43206db53ec69a309@localhost> |
On Mon, 13 Oct 2008 19:27:51 +0200, Klaus Trainer <klaus.trainer-S0/[email protected]> wrote: >> Klaus please try one more thing. In comments.py line 997 replace >> "types.StringTypes" with "types.UnicodeType". This makes sure that we > only >> encode unicode strings. > > I tried, and now it works. I can even use Unicode characters :-) On the one hand this is good, since it works now, on the other hand I do not quite understand how you get NON unicode characters out of the comments file itself. Right now I do not have time to have a closer look at this but there is definitely something fishy here.... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/