I've deployed my Django application recently to pre-set hosting server (Red Hat) and after short usage came to a UnicodeEncode Error after uploaded images, which are containing Cyrillic symbols (russian, to be specific), but saving CharFields data in russian works just fine.
However, the identical code works without a flaw on my personal computers (tested both on Ubuntu and Windows). After file encoding inspection on the server, it turned out, that default system encoding on hosting is ANSI, which is an extension of ASCII
At this point, I've contacted tech support and they claimed that it may be Django fault because they use UTF-8 encoding on their servers (How then sys.getfilesystemencoding() showcases, that inherited from OS encoding is ASCII?)
My another suspicion were messed locales
And it turned out to be true.
Anyway, is there any way that it's a Django's fault and it can be fixed with Python/Django hacks or is it completely server's fault?
Edit: To be clear, that's not VDS, that's just regular hosting with preset config, so I don't have full control over environment settings, however, I can configure .htaccess file and .fcgi script, so I believe it's Apache server


