On Thursday, June 14, 2012 12:35:40 PM UTC+2, lawgon wrote:
>
> hi, 
>
> I have an application which runs on a webfaction hosting.



How is it deployed exactly ? 
(sorry never used webfaction hosting for django - nor for anything else 
FWIW)
 

> 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 :-/

HTH

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/q1DkO6bIJyUJ.
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