Hello,
In file: envinronment.py,
def load_environment:
- I set up a few configuration variables like
config['my_var1'] = u'something'
config['my_var2'] = u'something2'
# I want that every var has been unicode type.
Last time I moved a few above variables to development.ini, but now I
have a little problem with encoding
because I have to every variable that become from ini to decode('utf-8').
There exists some way to automatically convert or load variables from
ini as unicode?
Best Regards,
Tomasz Narloch
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.