Page 1 of 1

UTF-8 BOM & Codelite

Posted: Sun Oct 26, 2008 1:03 am
by coder99
I realize this problem could be classified as either a wxFormbuilder or g++ issue, but since wxFormbuilder sort-of forms a part of Codelite, I thought I'd try this forum. According to the comments on their forum, are undecided on whether, how or when to deal with the issue and I have not been able to find a satisfactory solution by googling the gcc forums either.
So I'm really trying to see if anyone else here has a solution.

After importing another project which had its basic frame build by wxFormBuilder using the UTF8 encoding, the compiler seems to choke on the BOM mark inserted in the .cpp file(s).
Under MSVC I had to set a property to have the compiler handle this issue, but I have not been able to find a suitable option to keep g++ happy.

Up to now, I have simply removed the offending bytes, but they keep getting reinserted anytime I have to regenerate the code

TIA

Re: UTF-8 BOM & Codelite

Posted: Wed Oct 29, 2008 4:04 am
by coder99
Sorry to say, the problem withBOM & wxFormbuilder was mine; I had forgotten that I can disable the BOM from wxFormBuilder and just where to look for it.