User forums > General (but related to Code::Blocks)
shared source file codepage trouble
jimmyo:
Hello,
i use same source file under Windows with Visual Studio
and under Linux with Code::Blocks IDE.
if the sourcefile under windows has some extras char äöü,
CB-IDE convert it to other spcial chars
ö = ö
after compare this file for changes, i always have this changes.
can i change the codepage in CB-IDE, that it does not change this chars ?
Thanks
Jimmy
dje:
Hi !
You have to play with default encoding on the Settings\Editor...
Dje
Biplab:
If the file has UTF-8 encoding, C::B can deal with it. Otherwise if the file has an encoding UTF-16 or above, C::B may not be able to handle it.
rjmyst3:
Visual Studio cannot handle UTF-8 until version 8 (2005).
Even then, the complier will not recognize it as UTF-8 without a BOM.
gcc expects files in UTF-8, unless instructed otherwise. But if the files have a BOM, gcc will not compile them.
I have no suggestion, just pointing out some potential problems. :(
dje:
Hi Biplab !
--- Quote from: Biplab on August 10, 2007, 11:51:43 am ---If the file has UTF-8 encoding, C::B can deal with it. Otherwise if the file has an encoding UTF-16 or above, C::B may not be able to handle it.
--- End quote ---
Why are all these encoding available if not supported in Code::Blocks ?
What happens if they are used (I suppose they are proposed because Scintilla supports them) ?
Dje
Navigation
[0] Message Index
[#] Next page
Go to full version