The whole point is that this file (resource file generated by Visual C++) does not appear to contain any invalid character.
After opening file test.rc with Windows' Notepad and removing 'END' at line 387, then saving file, gedit can open file without any problem. After re-adding 'END' at line 387 (using gedit or Notepad) and saving file, gedit can no longer open file. That is what is really weird about it. ** Attachment added: "Capture du 2012-06-09 06:10:51.png" https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1010402/+attachment/3182045/+files/Capture%20du%202012-06-09%2006%3A10%3A51.png -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1010402 Title: Problem opening RawText file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1010402/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs