Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Tool IDE .spin encoding? — Parallax Forums

Propeller Tool IDE .spin encoding?

JeffaJeffa Posts: 80
edited 2011-07-11 13:57 in Accessories
I placed my project in github https://github.com/jhalbrecht/nerdDoro

I noticed that when I viewed .spin files from github it thinks they are binary and does not display them in a human readable format unless I use the 'raw' mode.

I did some experimenting looking at the encoding type using Firefox.

I created a simple deleteMe.spin file from the file->new in the Propeller tool. It created it with UTF-8 encoding where all my other files, those that I placed on github were UTF-16LE.

I found this interesting post from Jeff Martin http://forums.parallax.com/archive/index.php/t-103603.html

I'm wondering if it would be safe to change the encoding to UTF-8 for my source code that is not using any special characters?

It appears that new .spin files are created UTF-8 and reencoded when special characters are inserted?

It's not a show stopper. But if anyone would care to look at the source without downloading it would be more convenient to view with a single click. At any rate intersting learning experience for me.
Sign In or Register to comment.