Set UTF-8 encoding on Netbeans

Update Netbeans file encoding

If you use an operating system which default file encoding is not UTF-8 (e.g. Windows) it is sometimes beneficial to change the file encoding NetBeans IDE will use.

NetBeans IDE Logo

NetBeans IDE will use, as all Java applications, the operating system’s file encoding by default. To force the ide to use UTF-8, the following configuration needs to be added to the netbeans_default_options parameter