On 22 July 2013 14:11, Marc Tompkins <marc.tompk...@gmail.com> wrote:
> > One way to deal with this is to specify an encoding: > newchar = char.decode('cp437').encode('utf-8') > Works fine, but I decided to add a dos graphics dash to the existing dash to expand the tree visually. Except I got a complaint from IDLE that I should add this: # -*- coding: utf-8 -*- Will that always work? Setting coding in a comment? Or am I looking at a Linux hash line? Jim
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor