1. Brodie Rao
  2. cram
  3. Issues
Issue #26 resolved

Unicode is escaped on Py2, but not on Py3

Alexander Solovyov
created an issue

I've got a problem that unicode strings are outputted with (esc) when running under Python 2.x, but under Python 3.x they are outputted directly as text, just look at that:

https://travis-ci.org/piranha/opster/jobs/10360731

I'm wondering if that could be fixed somehow? Maybe having special case for (utf-8)?

Comments (6)

  1. Brodie Rao repo owner

    I think if Cram consistently used bytes/unicode between Python 2 and 3, you shouldn't see this weird behavior. I suspect that'll require dropping support for older versions of 2.x.

    I'll take a look and see what I can do.

  2. Log in to comment