Saving File in Sublime Text 3 in ISO-8859-1

2

When I try to save a file by changing encoding to Western (ISO 8859-1) , the following error message:

Does anyone know why?

    
asked by anonymous 06.10.2014 / 21:22

2 answers

2

This happens when the file has invalid or "abnormal" characters as β of the German language.

If you enable the "draw_white_space: all" option, the sublime will show a ball, where there are white spaces and a dash where you have a tab , and if you have a blank space with nothing, is an invalid character, remove it.


You can also go in File > Reopen with Encoding -> Western (ISO 8859-1) that all invalid characters will be converted.

    
06.10.2014 / 22:00
-1

Actually, my file had invalid characters like the @kaduAmaral mentioned above, but unfortunately the sublime did not show me the characters. I had to open the file with Notepad ++ , I went in format> Character Set> Western Europe> ISO 8859-1 . With this, Notepad showed me the invalid files such as: Start, Description, Edits and others .... I deleted and put first, the valid characters type: Home, Description and edits , I saved the file and reopened it with Sublime , and tried again to save the file with the encoding ISO 8859-1 and it worked, then I put the words again with the accent.

If you have any other more practical answers, thank you!

    
07.10.2014 / 15:22