I am trying to use the ini4j to get data from a windows software log file. The file looks like:
[Production]
Code=I-MS01-11002
Time=2012-01-25T15:58:50+02:00
RequestType=Process Order
OrderID=0183
When I try:
Wini ini = new Wini(fileList[i]);
System.out.println(ini.keySet());
The output is: [?, P r o d u c t i o n]
Please advise where I am going wrong.
I have found the original file is saved in UTF16 format. A work around, that seems to work, but may not be the best way to do it:
The output is now: [Production]