[v630b4] all about UTF-8 +- BOM?

Post bugs related to the IDE here
User avatar
skywalk
Addict
Addict
Posts: 4257
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[v630b4] all about UTF-8 +- BOM?

Post by skywalk »

I am tidying up some projects and wanted to conform to whichever is preferred?
PB IDE
New .pb file saves as UTF-8-BOM.
New .rc file saves as UTF-8-BOM.
New .txt file saves as ANSI.
New .ini file saves as ANSI.

I think all files should be stored as UTF-8-BOM.

The IDE does not mention BOM in the preferences dialog?
; IDE PREFERENCES:
; Compiler:Defaults:
; Sourcefile Text encoding: UTF-8 <-- Missing BOM
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum