Comment 3 for bug 1276236

Revision history for this message
Edward K. Ream (edreamleo) wrote :

Strictly speaking, this bug is invalid. Inserting '# -*- coding: utf-8 -*-' causes the script to execute correctly.

However, the idea of inserting such a line automatically for all scripts is worthwhile, so I've "promoted" this item to a wish list.

The fix isn't entirely trivial: Leo should scan all the opening lines of a script before inserting the coding line.