I'm doing a research project in NLP. For that I have to analyze a unicode (Sinhala) text file of around 10mb and it opens in Google docs. But when I try to open it from gedit I'm getting this error
Unexpected error: Invalid byte sequence in conversion input
So, I followed this similar question and tried the second answer which suggests running this command in terminal:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
I got this result in the terminal:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
No such key “auto-detected”
So, no success. When I try to open the file in gedit, I'm getting the same error. How can I fix this? How can I open this file in gedit?