C++ Code Corrupted

JF2050

JF-Expert Member
Joined
Sep 25, 2010
Posts
2,085
Reaction score
45
Hi guys,

I was opening a C++ code with gedit, I think the file was being corrupted in the process of opening, and the following message was displayed:

"There was a problem opening the file /home/Simplicity./xxxxxxxx.cpp.

The file you opened has some invalid characters. If you continue editing this file you could corrupt this document.
You can also choose another character encoding and try again."

followed by a series of annoying characters below.

What could be the problem and how to solve?


ELF\00\00\00\00\00\00\00\00\00\00\00\00\00\00Ї4\00\00\00\84\00\00\00\00\00\004\00 \00 \00(\00 \00\00\00\00\004\00\00\004\804\80 \00\00 \00\00\00\00\00\00\00\00\00\00\00T\00\00T\81T\81\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80\00\80\00\00\00\00\00\00\00\00\00\00\00\00\00\F0\00\00\F0\9E\F0\9EP\00\00\88\00\00\00\00\00\00\00\00\00\00\00\00\00\9F\9F\E8\00\00\00\E8\00\00\00\00\00\00\00\00\00\00\00\00h\00\00h\81h\81D\00\00\00D\00\00\00\00\00\00\00\00\00P\E5td\8C
\00\00\8C\8A\8C\8AD\00\00\00D\00\00\00\00\00\00\00\00\00Q\E5td\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00R\E5td\F0\00\00\F0\9E\F0\9E\00\00\00\00\00\00\00\00\00\00/lib/ld-linux.so.2\00\00\00\00\00\00\00\00\00\00\00GNU\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00GNU\00\A3&#41382;i\96z\97\ABy \96E\97\C4\B3\00\00\00\00\00\00\00\00\00\00\00\00\00\00!a\00\00\00\00\00\00\00\00\00s\96\ACK\E3\C0!\FD\F4 (E\D5L\98CyIk\B6\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\87\00\00\00\00\00\00\00\00\00\00\00\00\00\00\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\C9\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\91\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EA\00\00\00\00\00\00\00\00\00\00\00\00\00\005\00\00\00\00\00\00\00\00\00\00\00\00\00?\00\00\00\00\00\00\00\00\00\00\00\00\003\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\A3\00\00\00\00\00\00\00\00\00\00\00\00\00\D7\00\00\00\00\00\00\00\00\00\00\00\00\00\E1\00\00\00@\A0\90\00\00\00\00\00\F0\00\00\\8A\00\00\00\00\00B\00\00\00\A0\87\00\00\00\00\00\00\00\8B\00\00@\87\00\00\00\00\00\00\00}\00\00\00\E0\A0\8C\00\00\00\00\00\B4\00\00\B0\87\00\00\00\00\00\00\00\00libstdc++.so.6\00__gmon_start__\00_Jv_RegisterClasses\00pthread_cancel\00_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_\00_ZSt4cout\00_ZNSsC1Ev\00_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc\00_ZNSt8ios_base4InitC1Ev\00_ZSt3cin\00_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E\00_ZNSsD1Ev\00_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E\00_ZNSt8ios_base4InitD1Ev\00_ZNSolsEPFRSoS_E\00__gxx_personality_v0\00libgcc_s.so.1\00_Unwind_Resume\00libc.so.6\00_IO_stdin_used\00__cxa_atexit\00__libc_start_main\00GCC_3.0\00GLIBC_2.0\00GLIBC_2.1.3\00CXXABI_1.3\00GLIBCXX_3.4\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\C9\00\00\00\00\00 \00\00\00P&y\00\00\00\00\00\00\00\00\00\00\00\E6\00\00\00\00\000\00\00\00ii \00\00\00&\00\00\00\00\00si \00\00\000\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00&#1263;k\00\00\00<\00\00\00\00\00t)\92\00\00\00G\00\00\00\00\00\00\F0\9F\00\00@\A0\00\00\E0\A0\00\00\00\A0\00\00\A0\00\00\A0\00\00\A0\00\00\A0\00\00\A0\00\00\A0\00\00\A0\00\00 \A0 \00\00$\A0
\00\00(\A0\00\00,\A0\00\000\A0\00\004\A0 \00\00S\83\EC\E8\00\00\00\00[\81\C3?\00\00\8B\83\FC\FF\FF\FF\85\C0t\E8E\00\00\00\E8\90\00\00\E8;\00\00\83\C4[\C3\00\00\00\00\00\00\FF5\F8\9F\FF%\FC\9F\00\00\00\00\FF%\00\A0h\00\00\00\00\E9\E0\FF\FF\FF\FF%\A0h\00\00\00\E9\D0\FF\FF\FF\FF%\A0h\00\00\00\E9\C0\FF\FF\FF\FF%\A0h\00\00\00\E9\B0\FF\FF\FF\FF%\A0h \00\00\00\E9\A0\FF\FF\FF\FF%\A0h(\00\00\00\E9\90\FF\FF\FF\FF%\A0h0\00\00\00\E9\80\FF\FF\FF\FF%\A0h8\00\00\00\E9p\FF\FF\FF\FF% \A0h@\00\00\00\E9`\FF\FF\FF\FF%$\A0hH\00\00\00\E9P\FF\FF\FF\FF%(\A0hP\00\00\00\E9@\FF\FF\FF\FF%,\A0hX\00\00\00\E90\FF\FF\FF\FF%0\A0h`\00\00\00\E9 \FF\FF\FF\FF%4\A0hh\00\00\00\E9\FF\FF\FF1\ED^\89\E1\83\E4\F0PTRh\00\8Ah\90\89QVh\84\88\E8?\FF\FF\FF\F4\90\90\90\90\90\90\90\90\90\90\90\90\90\90U\89\E5S\83\EC\80=l\A1\00u?\A1p\A1\BB\00\9F\81\EB\FC\9E\C1\FB\83\EB9\D8s\8D\B6\00\00\00\00\83\C0\A3p\A1\FF\85\FC\9E\A1p\A19\D8r\E8\C6l\A1\83\C4[]Ít&\00\8D\BC'\00\00\00\00U\89\E5\83\EC\A1\9F\85\C0t\B8\00\00\00\00\85\C0t \C7$\9F\FF\D0\C9ÐU\89\E5S\83\E4\F0\83\EC \C7D$`\8A\C7$\E0\A0\E8\AE\FE\FF\FF\8DD$\89$\E8B\FE\FF\FF\8DD$\89D$\C7$@\A0\E8\9E\FE\FF\FF\C7D$y\8A\C7$\E0\A0\E8z\FE\FF\FF\8DT$\89T$\89$\E8\9A\FE\FF\FF\C7D$\A0\87\89$\E8\9A\FE\FF\FF\BB\00\00\00\00\8DD$\89$\E8i\FE\FF\FF\89&#1547;]\FC\C9ÉÍD$\89$\E8T\FE\FF\FF\89&#1545;$\E8\9A\FE\FF\FFU\89\E5\83\EC\83}u2\81}\FF\FF\00\00u)\C7$t\A1\E8\D9\FD\FF\FF\B8@\87\C7D$<\A0\C7D$t\A1\89$\E8\9C\FD\FF\FF\C9\C3U\89\E5\83\EC\C7D$\FF\FF\00\00\C7$\00\00\00\E8\A6\FF\FF\FF\C9Ð\90\90\90\90\90\90\90\90\90\90\90\90\90UWVS\E8i\00\00\00\81\C3[\00\00\83\EC\8Bl$0\8D\BB\00\FF\FF\FF\E8\FB\FC\FF\FF\8D\83\FC\FE\FF\FF)\C7\C1\FF\85\FFt)1\F6\8D\B6\00\00\00\00\8BD$8\89,$\89D$\8BD$4\89D$\FF\94\B3\FC\FE\FF\FF\83\C69\FEu&#1987;\C4[^_]\C3\EB \90\90\90\90\90\90\90\90\90\90\90\90\90\F3Ë$Ð\90\90\90\90\90\90\90\90\90U\89\E5S\83\EC\A1\F4\9E\83\F8\FFt\BB\F4\9Ef\90\83\EB\FF&#1035;\83\F8\FFu\F4\83\C4[]Ð\90S\83\EC\E8\00\00\00\00[\81ï\00\00\E8\AF\FD\FF\FF\83\C4[\C3\00\00\00\00\00\00\00Please enter your name: \00Your name is:\00\00\00\00\00\00;@\00\00\00\00\00\00T\FC\FF\FF\\00\00\00\F8\FD\FF\FF\A0\00\00\00\9A\FE\FF\FF\CC\00\00\00\DA\FE\FF\FF\EC\00\00\00\FF\FF\FF\00\00t\FF\FF\FFH\00\00v\FF\FF\FF\\00\00\00\00\00\00\00\00\00zR\00|\88\00\00 \00\00\00\00\00\00\F0\FB\FF\FF\F0\00\00\00\00FJtx\00?;*2$"\00\00\00\00\00\00\00zPLR\00|\00\B0\87\00\88\00\00(\00\00\00$\00\00\00P\FD\FF\FF\A2\00\00\00\00\8CA\85B V\83p
\C5\C3A\00\00\00\00\00\8C\00\00\00\C6\FD\FF\FF@\00\00\00\00A\85B |\C5\00\00\00\00\00\AC\00\00\00\E6\FD\FF\FF\00\00\00\00A\85B X\C5\00\008\00\00\00\CC\00\00\00\F0\FD\FF\FFa\00\00\00\00A\85A\87A\86A\83N0JA\C3A\C6A\C7A\C5\00\00\00\00\00$\FE\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\FE\FF\FF\00\00\00\00\00\00\00\00\00\00\00\FF\FF\00\0099\8A\00~\00\00\9D\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00f\89\FF\FF\FF\FF\00\00\00\00\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\C9\00\00\00\00\00\E6\00\00\00\00\00\AC\86 \00\00\00<\8A\00\00\00\F0\9E\00\00\00\00\00\00\F5\FE\FFo\AC\81\00\00\00(\83\00\00\00\E8\81
\00\00\00S\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\F4\9F\00\00\00p\00\00\00\00\00\00\00\00\00\00\00\00<\86\00\00\00$\86\00\00\00\00\00\00\00\00\00\00\00\00\FE\FF\FFo\A4\85\FF\FF\FFo\00\00\00\F0\FF\FFo|\85\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9F\00\00\00\00\00\00\00\00\F6\86\87\87&\876\87F\87V\87f\87v\87\86\87\96\87\A6\87\B6\87&#391;\00\00\00\00\00\00\00\00GCC: (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1\00\00.symtab\00.strtab\00.shstrtab\00.interp\00.note.ABI-tag\00.note.gnu.build-id\00.gnu.hash\00.dynsym\00.dynstr\00.gnu.version\00.gnu.version_r\00.rel.dyn\00.rel.plt\00.init\00.text\00.fini\00.rodata\00.eh_frame_hdr\00.eh_frame\00.gcc_except_table\00.init_array\00.ctors\00.dtors\00.jcr\00.dynamic\00.got\00.got.plt\00.data\00.bss\00.comment\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00T\81T\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00#\00\00\00\00\00\00\00\00\00h\81h\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\001\00\00\00\00\00\00\00\00\00\88\81\88\00\00$\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00D\00\00\00\F6\FF\FFo\00\00\00\AC\81\AC\00\00<\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00N\00\00\00\00\00\00\00\00\00\E8\81\E8\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00V\00\00\00\00\00\00\00\00\00(\83(\00\00S\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00^\00\00\00\FF\FF\FFo\00\00\00|\85|\00\00(\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00k\00\00\00\FE\FF\FFo\00\00\00\A4\85\A4\00\00\80\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00z\00\00\00 \00\00\00\00\00\00$\86$\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\83\00\00\00 \00\00\00\00\00\00<\86<\00\00p\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\8C\00\00\00\00\00\00\00\00\00\AC\86\AC\00\00.\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\87\00\00\00\00\00\00\00\00\00\E0\86\E0\00\00\F0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\92\00\00\00\00\00\00\00\00\00&#1031;\D0\00\00l\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\98\00\00\00\00\00\00\00\00\00<\8A<
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9E\00\00\00\00\00\00\00\00\00X\8AX
\00\004\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\A6\00\00\00\00\00\00\00\00\00\8C\8A\8C
\00\00D\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\B4\00\00\00\00\00\00\00\00\00&#1034;\D0
\00\000\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\BE\00\00\00\00\00\00\00\00\00\00\8C\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\D0\00\00\00\00\00\00\00\00\00\F0\9E\F0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\DC\00\00\00\00\00\00\00\00\00\F4\9E\F4\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\E3\00\00\00\00\00\00\00\00\00\FC\9E\FC\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EA\00\00\00\00\00\00\00\00\00\9F\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EF\00\00\00\00\00\00\00\00\00\9F\00\00\E8\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\F8\00\00\00\00\00\00\00\00\00\F0\9F\F0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\FD\00\00\00\00\00\00\00\00\00\F4\9F\F4\00\00D\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\008\A08\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\A0@\00\008\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\000\00\00\00\00\00\00\00@\00\00*\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00j\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\84\00\00P\00\00\00\00\003\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\D4\00\00\D4\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00T\81\00\00\00\00\00\00\00\00\00\00h\81\00\00\00\00\00\00\00\00\00\00\88\81\00\00\00\00\00\00\00\00\00\00\AC\81\00\00\00\00\00\00\00\00\00\00\E8\81\00\00\00\00\00\00\00\00\00\00(\83\00\00\00\00\00\00\00\00\00\00|\85\00\00\00\00\00\00\00\00\00\00\A4\85\00\00\00\00\00\00\00\00\00\00$\86\00\00\00\00\00 \00\00\00\00\00<\86\00\00\00\00\00
\00\00\00\00\00\AC\86\00\00\00\00\00\00\00\00\00\00\E0\86\00\00\00\00\00\00\00\00\00\00&#1031;\00\00\00\00\00 \00\00\00\00\00<\8A\00\00\00\00\00\00\00\00\00\00X\8A\00\00\00\00\00\00\00\00\00\00\8C\8A\00\00\00\00\00\00\00\00\00\00&#1034;\00\00\00\00\00\00\00\00\00\00\00\8C\00\00\00\00\00\00\00\00\00\00\F0\9E\00\00\00\00\00\00\00\00\00\00\F4\9E\00\00\00\00\00\00\00\00\00\00\FC\9E\00\00\00\00\00\00\00\00\00\00\9F\00\00\00\00\00\00\00\00\00\00\9F\00\00\00\00\00\00\00\00\00\00\F0\9F\00\00\00\00\00\00\00\00\00\00\F4\9F\00\00\00\00\00\00\00\00\00\008\A0\00\00\00\00\00\00\00\00\00\00@\A0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\F1\FF\00\00\00\F4\9E\00\00\00\00\00\00\00\00\00\FC\9E\00\00\00\00\00\00(\00\00\00\9F\00\00\00\00\00\005\00\00\00\00\88\00\00\00\00\00 \00K\00\00\00l\A1\00\00\00\00\00Z\00\00\00p\A1\00\00\00\00\00h\00\00\00`\88\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\F1\FFt\00\00\00\F8\9E\00\00\00\00\00\00\81\00\00\00\FC\8B\00\00\00\00\00\00\8F\00\00\00\9F\00\00\00\00\00\00\9B\00\00\00\8A\00\00\00\00\00 \00\B1\00\00\00\00\00\00\00\00\00\00\00\00\F1\FF\BB\00\00\00t\A1\00\00\00\00\00\CA\00\00\00&\89@\00\00\00\00 \00\FA\00\00\00f\89\00\00\00\00 \00\00\00\88\8A\00\00\00\00\00?\00\00\F4\9F\00\00\00\00\00\00U\00\00\F4\9E\00\00\00\00\00\00\00f\00\00\F0\9E\00\00\00\00\00\00\00y\00\00\9F\00\00\00\00\00\00\82\00\008\A0\00\00\00\00 \00\00\8D\00\00@\A0\90\00\00\00\00\00\A3\00\00\00\00\00\00\00\00\00\00\00\00\00\BA\00\00\00\00\00\00\00\00\00\00\00\00\00\D4\00\00\00\8A\00\00\00\00 \00\E4\00\00&#1031;\00\00\00\00\00 \00\EB\00\00\00\00\00\00\00\00\00\00 \00\00\00\FA\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00X\8A\00\00\00\00\00\00\00<\8A\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00]\00\00@\87\00\00\00\00\00\00\00\82\00\00\00\00\00\00\00\00\00\00\00\00\00\C7\00\00\\8A\00\00\00\00\00\D6\00\00\00\00\00\00\00\00\00\00\00\00\00.\00\00\00\00\00\00\00\00\00\00\00\00\00E\00\008\A0\00\00\00\00\00\00R\00\00\E0\A0\8C\00\00\00\00\00i\00\00<\A0\00\00\00\00\00v\00\00\00\9F\00\00\00\00\00\83\00\00\90\89a\00\00\00\00 \00\93\00\00@\A0\00\00\00\00\00\F1\FF\9F\00\00\00\00\00\00\00\00\00\00\00\00\00\F8\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00x\A1\00\00\00\00\00\F1\FF\00\00\00\00\00\00\00\00\00\00\00\00\00*\00\00\A0\87\00\00\00\00\00\00\00r\00\00@\A0\00\00\00\00\00\F1\FFy\00\00\B0\87\00\00\00\00\00\00\00\9A\00\00\00\00\00\00\00\00\00\00\00\00\00\B2\00\00\8A\00\00\00\00 \00\C9\00\00\84\88\A2\00\00\00\00 \00\CE\00\00\AC\86\00\00\00\00\00\00\00crtstuff.c\00__CTOR_LIST__\00__DTOR_LIST__\00__JCR_LIST__\00__do_global_dtors_aux\00completed.6086\00dtor_idx.6088\00frame_dummy\00__CTOR_END__\00__FRAME_END__\00__JCR_END__\00__do_global_ctors_aux\00Hello.cpp\00_ZStL8__ioinit\00_Z41__static_initialization_and_destruction_0ii\00_GLOBAL__sub_I_main\00_ZZL18__gthread_active_pvE20__gthread_active_ptr\00_GLOBAL_OFFSET_TABLE_\00__init_array_end\00__init_array_start\00_DYNAMIC\00data_start\00_ZSt3cin@@GLIBCXX_3.4\00_ZNSsC1Ev@@GLIBCXX_3.4\00__cxa_atexit@@GLIBC_2.1.3\00__libc_csu_fini\00_start\00__gmon_start__\00_Jv_RegisterClasses\00_fp_hw\00_fini\00_ZNSt8ios_base4InitC1Ev@@GLIBCXX_3.4\00__libc_start_main@@GLIBC_2.0\00_ZNSt8ios_base4InitD1Ev@@GLIBCXX_3.4\00_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@@GLIBCXX_3.4\00_IO_stdin_used\00_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E@@GLIBCXX_3.4\00_ZNSsD1Ev@@GLIBCXX_3.4\00__data_start\00_ZSt4cout@@GLIBCXX_3.4\00__dso_handle\00__DTOR_END__\00__libc_csu_init\00__bss_start\00_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E@@GLIBCXX_3.4\00pthread_cancel\00_end\00_ZNSolsEPFRSoS_E@@GLIBCXX_3.4\00_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@@GLIBCXX_3.4\00_edata\00__gxx_personality_v0@@CXXABI_1.3\00_Unwind_Resume@@GCC_3.0\00__i686.get_pc_thunk.bx\00main\00_init\00
 
why did you use gedit? if it was already compiled why not use a dissassember anyway?

was it a source code? BTW don't save any changes!
 
It will give you option to change encoding, change it to western/european or whatever is presented and press retry.
If still cannot open use geany!
 
why did you use gedit? if it was already compiled why not use a dissassember anyway?

was it a source code? BTW don't save any changes!
Encoding problem. Its likely a src file (given a .cpp extension and man's sanity...)

I agree to not saving but I should add that if its massive code, backup file to avoid crying..!
 
why did you use gedit? if it was already compiled why not use a dissassember anyway?

was it a source code? BTW don't save any changes!

I use gedit b'se it faster and clever, gedit codename.cpp in terminal. Not source code, it is a script that I wrote. Why should I use dissassember?
 
Be carefully with your source codes always make some backups (do it online google drive, skydrive etc)

Alternatively use Notepad++ to view your codes and play with the encoding stuffs
 
It will give you option to change encoding, change it to western/european or whatever is presented and press retry.
If still cannot open use geany!

Will opening with geany really help? Encoding change does no effect, I'm thinking of recovery.
 
Be carefully with your source codes always make some backups (do it online google drive, skydrive etc)

Alternatively use Notepad++ to view your codes and play with the encoding stuffs

What is the permanent solution with encoding problem? How does opening with alternative editors help? I'm using Ubuntu Linux, although I can look for something like notepad++.
 
Will opening with geany really help? Encoding change does no effect, I'm thinking of recovery.
Geany is more intelligent than Gedit (which is simple editor). If you still cannot open it, then it is likely that its not a text file or you did something funny with it.
If geany fails, don't waste time trying Npp!
 
What is the permanent solution with encoding problem? How does opening with alternative editors help? I'm using Ubuntu Linux, although I can look for something like notepad++.

Some editors i.e Notepad++ supports a number of encoding with automatic language style detection. But I think its a good idea to use one editor to avoid further inconveniences + compatibility issues with some encodings
 
Some editors i.e Notepad++ supports a number of encoding with automatic language style detection. But I think its a good idea to use one editor to avoid further inconveniences + compatibility issues with some encodings
geany is as intelliegent as Npp hence my comment!
 
CTO Could not be solved by either of the suggested solutions!
 
Last edited by a moderator:
I have backup of a code that is immature, and I'm now building on from it. Thank you for concern

Pole! I would advice you set duplicity to do auto backup daily so that you be more confident!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…