Django admin - utf8 filename

56 views
Skip to first unread message

galgal

unread,
Jul 19, 2011, 10:32:34 AM7/19/11
to django...@googlegroups.com
How can I get rid of error when uploading files with utf8 name?
I can't find any solution:/

Xavier Ordoquy

unread,
Jul 19, 2011, 10:39:16 AM7/19/11
to django...@googlegroups.com

Le 19 juil. 2011 à 16:32, galgal a écrit :

> How can I get rid of error when uploading files with utf8 name?
> I can't find any solution:/

Hi,

There's nothing to do except make sure your LANG is set to something such as en_US.UTF-8.
If you are using apache, check you /etc/apache2/envvars

Regards,
Xavier.

galgal

unread,
Jul 19, 2011, 10:45:55 AM7/19/11
to django...@googlegroups.com
I use shared server so I think I have no access to apache settings. My language is set to 'pl' right now.

galgal

unread,
Jul 19, 2011, 11:24:34 AM7/19/11
to django...@googlegroups.com
OK I managed to do that - I can upload utf8 files now.
But after uploading it i can't see file form field to change file:/

urukay

unread,
Jul 20, 2011, 10:28:33 AM7/20/11
to Django users
Why not to change filename during the upload?

Radovan
http://www.yau.sk
Reply all
Reply to author
Forward
0 new messages