0

It says that the file is corrupted and unable to read such characters in its text editor and marks them whereas Windows just displays them perfectly in its notepad.

The below link to the image attached shows the error

3
  • More details, please.
    – techraf
    Mar 19, 2016 at 4:44
  • I'm assuming the "ubuntu text editor" is gedit. Have you tried mousepad or leafpad or geany?
    – DK Bose
    Mar 19, 2016 at 5:25
  • Please add the output of file /path/to/file.
    – kos
    Mar 19, 2016 at 6:35

1 Answer 1

1

Ubuntu uses UTF-8 as the default character encoding, Windows seems to use some other encoding.

You either need to tell GEdit what character encoding to use for that file or to convert the file to UTF-8 (as far as I know Notepad allows you to save a file using UTF-8 encoding)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .