I downloaded the .sh file from the NetBeans website and when i tried installing the following error showed up

gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character coding from the menu and try again.

can someone please help me. thanks