I have a text file. I created the content of the text file by copying from some webpage into it. During the creation, I was completely under gedit. I then saved the file and exited gedit. But since then, I haven't been able to open the file in gedit (although I could open it in Emacs). I tried to open it in gedit, but fails because "Unexpected error: Invalid byte sequence in conversion input".
- How shall I open such a file successfully, if without changing the content of the file?
- I guess there are some "bad" characters in it, and want to see what they are and remove them if they are not important. How shall I identify those culprit characters?
Thanks!
:help tutorial
XMODIFIERS="@im=none"
, it ought to beXMODIFIERS="@im=xim"
if you use xim input method. Substitute it with ibus or whatever IM you use.