Page 2 of 2

Re: Error creating Hello World game

Posted: Fri Oct 29, 2010 10:19 am
by kikito
nevon wrote: I would suggest that you get a different text editor. Coding without whitespace really isn't an option.
I suspect the problem isn't the editor, but the way it was used. In some editors (Notepad++, for example) there's a menu option for "changing charset used" and a different one for "converting the file to a another charset". They don't convert the file, even if you change the charset, automatically (bad decision IMHO). Probably the same happens with Textwrangler.

Anyway, if he's changed the settings to UTF without BOM by default, any new files should be ok.

Re: Error creating Hello World game

Posted: Fri Oct 29, 2010 12:03 pm
by zac352
I sense that GEdit decoded it properly.

Re: Error creating Hello World game

Posted: Fri Oct 29, 2010 5:37 pm
by pighead10
I suggest using Notepad++, if you have Windows. It has support for many different languages, including Lua.

Re: Error creating Hello World game

Posted: Fri Oct 29, 2010 7:49 pm
by ishkabible
notepad++ is what i use for all scripting languages except Lua. i use SciTi for Lua, mostly because for i got used to using it for Lua making non-love programs. for compiled languages i tend to use an IDE. i recommend both SciTi (for Lua) and notepad++ (for dam near everything including Lua)

Re: Error creating Hello World game

Posted: Sat Oct 30, 2010 12:35 am
by kikito
Dudes, stop suggesting Notepad++. He's said on his first post that he is on mac. It has no textpad. Textwrangler (the one he uses) seems good enough.

Re: Error creating Hello World game

Posted: Sat Oct 30, 2010 8:32 am
by Robin
kikito wrote:Textwrangler (the one he uses) seems good enough.
Then he needs to change his settings to stop emitting no-break spaces.