Getting unicode errors in my ancient python cgi site, "'ascii' codec can't encode character '\xf1' in position 1349: ordinal not in range(128)". After googling I found several suggestions for setting things in .htaccess, but nothing is working. There are also suggestions that say you have to modify some LANG setting in the apache config, which I don't think I have access to for a simple cgi site.
Anyway, just curious if anyone aware of a solution. In the meantime I'm just stripping non-ascii chars from my response.