Propeller Tool IDE .spin encoding?
Jeffa
Posts: 80
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.
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.