I just realized that all the code files in LayoutStudio are ANSI-encoded. And, Eclipse IDE don't like it because when I open up the html.tpl.php and want to add a line of html
to the line after the body tag below
<body class="<?php print $classes; ?>" <?php print $attributes;?>> <?php print $page_top; ?> <?php print $page; ?> <?php print $page_bottom; ?> </body>
The cursor in Eclipse act funny as soon as I type the "<" open bracket character. Say I was typing in line 55 and characters that I typed appears in a line other than line 55 (see the screenshot attached)
I guess Eclipse is reading the file as if it's encoded in UTF-8 and therefore the offset of the cursor is incorrect and I ended up garbling the source file.
FYI, I'm running on Windows and have set Eclipse to use UTF-8 by default as I think utf-8 is be most common character encoding nowadays.
I know this is an issue with Eclipse and has nothing to do with LayoutStudio, but do you think it make sense to encode all the code files to utf-8?