This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Scenario: - Create C/C++ application - Add any Russian comment into main.cpp. For example: // привет - Restart IDE ===> "The file cannot be safely opened with UTF-8" window appears
IDE saves file in Windows-1251 instead of UTF-8
same problem in NB7.1 rc1
7.0.1 works nicely in same scenario
Sasha, please, have a look
fixed, change set: http://hg.netbeans.org/cnd-main/rev/fbb0c5403915
Vladimir: please review the fix.
I reviewed the fix, it is correct and safe.
I've set "701patch-candidate" because it's a regression that is already in blacktie branch transplanted into blacktie: rev/538c7a3dbdb7
verified on windows with UTF-8 and Windows-1251 encoding in managed and unmanaged projects
Transplanted to releases71: http://hg.netbeans.org/releases/rev/186fbe956c3e
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/186fbe956c3e User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #205583 NetBeans 7.1rc1 breaks Russian text (transplanted from fbb0c5403915a1de160ab8102710b7c073b31920)
verified in NetBeans IDE 7.1 (Build 201112012200)
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/fbb0c5403915 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #205583 NetBeans 7.1rc1 breaks Russian text
verified in NB 7.0.1 patch3 candidate (build 201205021427)