Klaus Alexander Seistrup <spam at magnetic-ink.dk> writes: > Python barfs if there are non-ASCII characters in comments and there > is no coding-line. Not necessarily. An UTF-8 BOM would do just as well. > Still beats me why it doesn't use the sys.getdefaultencoding() instead > of inconveniencing me. See my other message. REgards, Martin