On 16 August 2016 at 14:23, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 16/08/2016 1:59 PM, William ML Leslie wrote: >> import sys >> print(sys.stdout.encoding) > > > cp850 > > There is no cp850 in the env vars so it must come from somewhere else. >
You could set it to something else if you trust that the terminal will actually display those characters. sys.stdout.encoding = 'UTF-16' Alternatively, since you're printing the list for representation purposes, you could print(', '.join(repr(cell) for cell in cells)). -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely MAY reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to DENY YOU THOSE RIGHTS would be illegal without prior contractual agreement. _______________________________________________ melbourne-pug mailing list melbourne-pug@python.org https://mail.python.org/mailman/listinfo/melbourne-pug