It's necessary to define Code Encoding when testing Python compiled components

Hi!,

Today I realize that there is a way to build python compiled components in Rhino WIP, so I jumped to test it immediately. And how surprise I was when GH told me this:

So I was a good guy and jumped to the mentioned URL and I found that the error is easily corrected adding this two lines at the top of your code:

#!/usr/bin/python
# -*- coding: latin-1 -*-

I don’t know if this is a bug related to the new GhPython component or just that that Encoding information needs to be added manually by every user.

cc/ @piac

Yes, I can add these lines for you.

Added a todo item to the list: http://mcneel.myjetbrains.com/youtrack/issue/RH-30745

Thanks! :slight_smile: