> ... the apache+mod_wsgi returns: ANSI_X3.4-1968
> (which, in fact, I haven't ever seen it again !!)

That's just the "official" name for what is commonly called "ASCII".


> So it must be an apache config problem?
> And how can I change it?

Python determines it's encoding defaults from environment variables;
and if unset will usually revert to the compiled-in default of ascii.
And since modwsgi is essentially Python embedded into Apache, those
variables must be set by Apache; or into the boot scripts that start
Apache.

So it appears as if your Linux distro's Apache configuration is
probably not setting your locale environment variables.  I'm not
familiar with Ubuntu Lucid's Apache package.  Generally you want the
$LANG and $LC_ALL variables set, such as:

LC_ALL='en_US.UTF-8'
LANG='en_US.UTF-8'

(Replacing the en_US with whatever your locale language specifier is).


You may want to look at this old posting....

https://groups.google.com/forum/?fromgroups#!topic/modwsgi/MRsMc9yehBI


-- 
Deron Meranda
http://deron.meranda.us/

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to