Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 568
chakroun yesser Avatar asked Oct 31 '13 14:10

chakroun yesser


People also ask

Why can't I open a project in netbeans?

Please follow the below mentioned steps to fix this issue:Delete the folder /java/jdk-13/ Open Netbeans again. Select Yes in the prompt ( To use the newly installed jdk ) Viola you can create new projects and files.

How do I fix my netbeans 8.1 it closes after showing initializing?

One general solution to this kind of problem can be to clear the netbeans cache. Quit NetBeans and find the cache folder - mine is at C:\Users\OldCurmudgeon\AppData\Local\NetBeans\Cache . Delete the whole folder - this can take a while as there can be a lot of files in there.

How do I open a project in netbeans?

In NetBeans IDE, choose File > Open Project. In the file chooser, select the project and click Open Project.


1 Answers

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

like image 57
Tarik Avatar answered Sep 22 '22 07:09

Tarik