szymon_dybczak
Esteemed Contributor III

Ok, so that only confirms that this problem is not related to driver. Rather, this is weird quirk of Netbeans.
In netbeans it's not sufficient to use only option -Dfile.encoding=UTF-8. 
Please follow approach suggested in following stackoverflow thread, depending on Java version you're using

java - How to use UTF-8 character in Netbeans - Stack Overflow