On Thu, 2012-06-14 at 04:19 -0700, bruno desthuilliers wrote:
> > I have an application which runs on a webfaction hosting.
> 
> 
> 
> How is it deployed exactly ? 

apache + wsgi 
> (sorry never used webfaction hosting for django - nor for anything
> else 
> FWIW)

not my choice, client choice
>  
> 
> > I also have 
> > the same app running on my devel machine. The code in the two
> machines 
> > are pulled from the same repo. Django versions are identical.
> Python 
> > versions are identical. I try to upload a file called Lisäinfo 
> > kummeille.pdf in the dev machine. No problem. When I try the same
> file 
> > in webfaction, I get the above error. I have checked and find I can
> use 
> > python to open and save a file of the same name from the python
> prompt 
> > in the webfaction shell. In templates, admin and and generated
> pdfs, 
> > these non ascii characters are handled perfectly. Has anyone got
> any 
> > clues about this?
> 
> 
> 
> 
> Each time I had this problem, it happened that the server process was
> using 
> Apache's default locale, and that Apache default's locale was "C", not
> the 
> utf8 locale configured for users. Not much of a problem for me since I
> have 
> admin access but that may not be the case with webfaction :-/

I think that should be it - my dev server runs nginx (and on my own
server I have root and anyway do not use apache.

-- 
regards
Kenneth Gonsalves

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to