Thanks for your help. I've been able to fix the problem thanks also to the Rackspace technical support.
This is the answer, i post it cos it might be useful to someone else: "Greetings, I've added the two lines you provided to /etc/sysconfig/httpd - a file which is 'sourced' by the apache startup script and exists for exactly this kind of need. To get these statements to take effect, I've restarted the httpd service. Those two new environment variables should now exist on all Apache processes and their child processes. Please test and let me know of you're still seeing the UnicodeError, some other error, or if things are now working properly. Pleasure to help you; If you have any concerns or questions, please let me know." On Jun 21, 12:42 pm, Matt Hoskins <skaffe...@googlemail.com> wrote: > Federico, > > When trying out what Karen suggests then in the unlikely event that > Red Hat doesn't load the environment variables from /etc/apache2/ > envvars, one way to find it without consulting documents is to look at > the apache start-up script (e.g. /usr/sbin/apache2ctl) so find that on > your server and look at what that loads - for example the copy I've > got has the following: > > # the path to the environment variable file > test -z "$APACHE_ENVVARS" && APACHE_ENVVARS='/etc/apache2/envvars' > # pick up any necessary environment variables > if test -f $APACHE_ENVVARS; then > . $APACHE_ENVVARS > fi > > Of course as you can see from that it's possible to set an environment > variable before running apache2ctl to change the location of envvars, > but it's unlikely they'd do that. > > Matt > > > > > > > I am not familiar with Red Hat so I can't give you any more specific advice > > than that. If it does not use /etc/apache2/envvars (or if you are using some > > server other than Apache), then you need to consult the Red Hat doc or > > forums to find out how to configure your web server to run with a LANG other > > than C or whatever it is currently using.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.