How do I get unicode support in python?

Eric Mesa ericsbinaryworld at
Fri Feb 8 14:51:28 UTC 2008

I'm running a web server with FreeBSD 6.1-RELEASE and python 2.4.3.  I'm
unable to print any characters outside of ascii.  I have tried this code on
my Linux computer, which has python 2.5.x and it works - so the code is

What do I need to do to get python on the web server to have unicode
support?  Is there a module/package I need to import in the 2.4 series?  Or
is there some package/port I need to install?  Or do I just recompile python
with some different flags?  (And does that entail any uninstalling first?)


Eric Mesa

More information about the freebsd-questions mailing list