arcticicestudio / snowsaw

A lightweight, plugin-driven and dynamic dotfiles bootstrapper.
MIT License
98 stars 8 forks source link

SyntaxError : Non ASCII character #20

Closed arcticicestudio closed 7 years ago

arcticicestudio commented 7 years ago

This issue has been moved from arcticicestudio/igloo#20 reported by @teslaji

The exception is thrown by the non ASCII character used in the cli.py log message. Regarding to PEP-263 the default encoding is set to ASCII, but the file must be parsed as UTF-8.

This can be fixed by adding the magic comment # -*- coding: utf-8 -*-.

arcticicestudio commented 7 years ago

@teslaji You can checkout :seedling: bugfix/gh-20-syntaxerror-non-ascii-character to test if this fixes your problem.

kbuley commented 7 years ago

Same issue here, resolved by this fix

arcticicestudio commented 7 years ago

@kbuley Thanks for the feedback, already forgot to submit a PR for this one in the flood of issue notifications each day :smile:

I'll add the magic comment to all other files to make sure the encoding is always UTF-8 and merge it as soon as possible.