thanks for the replies. As for why I set my default encoding to utf-8
in python, I did it a while ago and I think I did it because when I was
reading some strings from database in utf-8 it raised errors b/c there
were some chars it could recongnize in standard encoding. When I made
the change, the
1. I download a page in python using urllib and now want to convert and
keep it as utf-8? I already know the original encoding of the page.
What calls should I make to convert the encoding of the page to utf8?
For example, let's say the page is encoded in gb2312 (simple chinese)
and I want to keep
I am using Python 2.4 and get this exception when running my mod_python
application. This used to work in my older environment.
Any ideas on how I can debug this issue?
-Jalil
Mod_python error: "PythonHandler mod_python.psp"
Traceback (most recent call last):
File "/usr/loca
I actually installed BerkeleyBD4.0 and commented out some sections of
Modules/Setup that I found related to this. I got the _bsddb.o in the
build environment but I still get the same error from bsddb/__init.py__
that it cannot import _bsddb.
Anything I am missing? Where should this _bsddb go exac
I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.
Does anybody know why this might happen? Do I need to do any special
customization or install any other software?
Thanks,
-