I'am using WSGI/mod_wsgi in my httpd.conf but my Pythonn script is utilizing Bottle Framework.
Quote:I can get output in a variable then can encode/decode as show before in post.How you mean? Only in console it show the names correctly? From script it show raw output from the db where when we try to encode/decode like folliwng:
names = [s.encode('latin1').decode('utf8') for s in names]it errors out:
Output:UnicodeEncodeError('latin-1', 'Άκης Τσιάμης', 0, 4, 'ordinal not in range(256)')