1. We and our AD Partners use cookies to understand how you use our site, improve your experience and serve you personalized content and advertising. Learn how we use cookies in our cookie policy.By continuing to use this site, you accept these cookies. Learn More.

meld shows output in unreadable alphabet (Japanese/Chinese?) Ubuntu

Discussion in 'Ubuntu Forums' started by UBUNTUOOP, Jan 12, 2017.


    UBUNTUOOP Active Member

    Likes Received:
    Trophy Points:
    meld shows output in unreadable alphabet (Japanese/Chinese?) on Ubuntu ?

  2. Avatar


  3. BiepD

    BiepD Guest Guest Post

    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.
    require 'fileutils'
  4. BiepD

    BiepD Guest Guest Post

    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.

    Check with:
    $ 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']"
  5. Avatar


  6. Avatar


Share This Page