Re: About _decode_string(s, charset) in http_request.py
Neil Schemenauer <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 21, 2005 at 07:47:20PM +0200, Damjan wrote: > So far so good, I'm only using unicode objects in my > application... But unfortunetally not all of quixote is ready for > unicode. For example the logger.py component can't write unicode > objects. That's true. The logger probably needs to grow a 'charset' option, just like HTTPRequest and HTTPResponse. Having three different options is probably not idea since the majority of applications will use the same value for all three. I wonder if it would make sense to make them default based on LC_CTYPE (and whatever is the equivalent on non-unix machines). Neil