Roundup Tracker - Issues

Message5289

Author ber
Recipients antmail, ber, pcaulagi, shammash, techtonik
Date 2015-03-18.08:17:58
Message-id <1426666680.06.0.278246597016.issue2550811@psf.upfronthosting.co.za>
In-reply-to
On Monday 23 February 2015 at 18:48:47, anatoly techtonik wrote:
> >> For a unicode issue, we should try to set sys.defaultencoding to utf-8
> >> http://stackoverflow.com/questions/28642781/hack-jinja2-to-encode-from-
utf- 8-instead-of-ascii I that fails (I expect Zope templates being a
> >> pain), then we can try to limit the change only to new templates. Or
> >> gradually move to use
> >> unicode objects internally.
> >
> > Thanks for the hint, I have to visit this one.
>
> See also
> https://stackoverflow.com/questions/28657010/dangers-of-sys-
setdefaultencodingutf-8

I have not looked at what it does so far, I was busy fixing the email comparison 
tests that were broken (see issue2550869 and issue2550877). :) But I am done 
with that.  It maybe a good solution or not, I don't have an opinion on it yet.

Anyway I first like to have a test written that tries to render each template
onces with some values, this way we can avoid obvious problems and see if it 
actually works. My testing has convinced me that manual testing it quite a lot of 
work does not give you much assurance in this case.
History
Date User Action Args
2015-03-18 08:18:00bersetmessageid: <1426666680.06.0.278246597016.issue2550811@psf.upfronthosting.co.za>
2015-03-18 08:18:00bersetrecipients: + ber, techtonik, pcaulagi, shammash, antmail
2015-03-18 08:17:59berlinkissue2550811 messages
2015-03-18 08:17:58bercreate