Working with utf-8 files in Eclipse.

Posted by Pablo Cabrera on Stack Overflow See other posts from Stack Overflow or by Pablo Cabrera
Published on 2010-05-25T14:28:24Z Indexed on 2010/05/25 14:31 UTC
Read the original article Hit count: 284

Filed under:
|
|

Quite straight forward question. Is there a way to configure Eclipse to work with text files encoded with utf-8 with and without the BOM?

So far I've used eclipse with utf-8 encoding and it works, but when I try to edit a file generated by another editor that includes the BOM, Eclipse doesn't handle it properly, it 'shows an invisible character' at the begining of the file (the BOM). Is there a way to make Eclipse understand utf-8 encoded files with BOM?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about utf-8