Thursday, October 29, 2015

Django filebrowser decoding

I got admin panel, where you can see all files and folders added in website folder - userfiles, but there is a problem.

When I oppening folder with files whos names contains with UNICODE, that map dosnt open, but I got 500 error, but if there is no files with UNICODE names it works.

Example:
UserFiles/FOLDER1/abcd.pdf - not working (500 error)
UserFiles/FOLDER2/ābčd.pdf - working

But problem isnt in files, I think so, because, this website was on server 1 and everything were working, but now we moved to server 2, but now we got this problem, but files are the same. So, problem could be in some python libary files or somewhere there, I need some plugin. If there is something to fix this, some plugin or smthing?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9bd0a38b-4669-4705-a189-6efaba704fe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment