// in java file
int pos = content.search("Phùng Văn Huy");
Netbeans run, pos is 12
Command line run, pos is -1
Fix: add utf8 option
java -Dfile.encoding=UTF8 -jar "HuyPV.jar"
Title:
java -jar utf8
Description:
// in java file int pos = content.search("Phùng Văn Huy"); Netbeans run, pos is 12 Command line run, pos is -1 Fix: add utf...
...
Rating:
4