Embarcadero / Dev-Cpp

A fast, portable, simple, and free C/C++ IDE
https://www.embarcadero.com/free-tools/dev-cpp
GNU General Public License v2.0
2.52k stars 276 forks source link

Dev-C++ editor do not work correctly with ANSI encoded files. #126

Open maximilliangreat opened 3 years ago

maximilliangreat commented 3 years ago

Dev-C++'s editor do not work corectly with ANSI encoding. It can save .cpp files in ANSI, but it asks EVERY time if I would like to save as utf8. Also, after reopening project, Editor can not open ANSI encoded .cpp file "Cannot open file" error.

Sample project phonebook.zip main.cpp have cp1251 encoding. image image

FMXExpress commented 3 years ago

What is your new document encoding setting set to?

ZhouJiatai commented 3 years ago

I have a similar problem. When I open an ANSI encoded file, the program will report an error:

Application Error Exception voilation at address 0056254F in module 'devcpp.exe'. Read of address 01600000.

Why?

maximilliangreat commented 3 years ago

What is your new document encoding setting set to?

My new document encoding is ANSI image