0

I am using Jsoup to parse html documents in a project i created in Netbeans. The html pages i parse are in Greek, UTF-8, and i have to identify some elements that contain specific Greek strings. This works well when i test the program in Netbeans:

Element element = record.select("td:containsOwn(διαθέσιμο)").first();

However, when I build a jar file and run it from the windows 7 command prompt, the program fails to find the element with the greek characters!

Netbeans encoding is set to UTF-8. I am using JRE 1.7.0 when i run from the cmd. Netbeans is using JDK 1.7

0 Answers0