durusmail: quixote-users: About _decode_string(s, charset) in http_request.py
About _decode_string(s, charset) in http_request.py
2005-08-21
About _decode_string(s, charset) in http_request.py
2005-08-21
2005-08-24
About _decode_string(s, charset) in http_request.py
Neil Schemenauer
2005-08-21
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
reply