encoding error in production with WSGI but not development

2013-12-27 Thread rok
Hi, I am getting the following error: 'ascii' codec can't encode character u'\u0160' in position 13: ordinal not in range(128) in our production machine running the Django app using Apache+mod_wsgi. However, the same code works well in development in Eclipse. Is this somehow related to the WSG

Encoding error

2012-11-12 Thread Ariz-maN@
Hi, i'm coding a system using Django Pyodbc and SQL Server 2005. But i've a problem of encoding when i try to save some complex string like "éei«éíπ≤Æ∫" in sql server through pyodbc. The error was always "'not enough arguments for format string'" i've identified the line in the file base.py in py