Depending on what and where you are using the encoded characters in the
app, you may be able to place them in lib.app_globals rather than the .ini
On Thursday, November 13, 2014 3:39:31 AM UTC-6, lebouquetin wrote:
>
> Hi all,
>
> I have a python3 tg2 application that run nicely on standalone mode. I'm
> french, so there are some utf-8 chars in the .ini file
> Everything is fine when running the application in standalone mode with
> gearbox.
>
> I'm now trying to deploy using mod_wsgi and get an unicode error. Here is
> the problem:
>
> File "/opt/demo.tracim.fr/tracim/tracim/productionapp.wsgi", line 9, in
> <module>
> [Thu Nov 13 10:24:44 2014] [error] [client 88.170.39.182] application
> = loadapp('config:%s' % APP_CONFIG)
> [...]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 952:
> ordinal not in range(128)
>
> Is there a way to put utf-8 cahrs in the .ini file ? I do not find
> anything about this ; my files are utf-8 encoded...
>
>
> Thanks for your help.
>
> Damien
>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.