Discussion in 'Ubuntu Forums' started by UBUNTUOOP, Jan 12, 2017.
meld shows output in unreadable alphabet (Japanese/Chinese?) on Ubuntu ?
I have the same problem. Two versions of the same file, one showed in complex characters. After copying the readable side into the unreadable side and reopening, both had become unreadable. There are even switches in reading direction in the file.
Here is line 1:
Corresponding to a real text starting this way:
# Te doen: FileUtils.copy gebruiken voor het eenvoudigweg kopiëren van bestanden. Zie fxri.
I found this solution on the web:
File encoding is not correctly detected.
In my case this is due to meld's "detect-encodings" settings.
$ gsettings get org.gnome.meld detect-encodings
Only utf8 is detected.
To workaround this issue add 'latin1' or whatever encoding your file has:
$ gsettings set org.gnome.meld detect-encodings "['utf8','latin1']"
Separate names with a comma.