Search code examples
netbeansnetbeans-7

Netbeans file cannot be safely opened


I get files from friend who don't use netbeans IDE, when i open file that contain special caracter like 'é','à',... it show me this popup message : this popup message

if i say yes it open the file and changes those caracters to '�' like this or this

Any idea how to open the file safely?


Solution

  • The letters you are mentioning seem to be French. You need to open the file, specifying the original encoding, then save the file as UTF-8