Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » UTF-8 - without BOM
UTF-8 - without BOM [message #724353] Mon, 12 September 2011 07:09 Go to next message
fred133084 is currently offline fred133084Friend
Messages: 2
Registered: September 2011
Junior Member
hello, my text file encoding project must be in UTF-8 without BOM.

how do ?

nb : no, i really not use UTF-8, because the opensource project is in utf-8 without bom, and use utf-8 with bom cause a lot of bugs. So, actually, we use notepad ++ yeapppyyyy Sad


please help !
Re: UTF-8 - without BOM [message #725249 is a reply to message #724353] Wed, 14 September 2011 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Thomas Mooshammer

afaik eclipse does not add BOM.

just set the project's text-file encoding to utf-8.
(Menu: Project->Properties->Resource:Text File Encoding)



Am 12.09.2011 09:09, schrieb fred133084:
> hello, my text file encoding project must be in UTF-8 without BOM.
>
> how do ?
>
> nb : no, i really not use UTF-8, because the opensource project is in
> utf-8 without bom, and use utf-8 with bom cause a lot of bugs. So,
> actually, we use notepad ++ yeapppyyyy :(
>
>
> please help !
Re: UTF-8 - without BOM [message #725423 is a reply to message #725249] Wed, 14 September 2011 18:26 Go to previous messageGo to next message
fred133084 is currently offline fred133084Friend
Messages: 2
Registered: September 2011
Junior Member
thanks...
but i don't understand ... when i create a file and open it in notepad++ the encoding file is utf-8 with BOM Sad
i use PDT ?! may be ?
Re: UTF-8 - without BOM [message #725818 is a reply to message #725423] Thu, 15 September 2011 21:06 Go to previous message
Eclipse UserFriend
Originally posted by: Thomas Mooshammer

you can verify inside eclipse by right-clicking the file in an explorer
view and choosing properties.

if the file has a BOM (either because it existed before or another
editor inserted it), there is a third line inside the text-file-encoding
box saying "Byte Order Mark is UTF-8 BOM".

eclipse preserves existing byte order mark but does not create it for
new files.

i'm using eclipse indigo and pdt on windows xp, both text and php files
created inside eclipse open with Encoding "UTF-8 without BOM" in notepad ++



Am 14.09.2011 20:26, schrieb fred133084:
> thanks...
> but i don't understand ... when i create a file and open it in notepad++
> the encoding file is utf-8 with BOM :(
> i use PDT ?! may be ?
Previous Topic:tooltip error
Next Topic:Code comments broken ?
Goto Forum:
  


Current Time: Thu Mar 28 22:57:30 GMT 2024

Powered by FUDForum. Page generated in 0.03962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top