I am using the rule-validator-3.1.0 and the option to sign the rule is corrupting the file.
Initially I have an XML with UTF-8 charset and after using the rule-validator with the option --approve, its creating a new file with a different charset. Not sure what’s determining the new charset, but some part of the code makes the rule validator to change it to one or another. For some it turned into ANSI, other were stored as ISO8859-7. This is finally breaking my special character replacement I had inside the rule.
java -jar rule-validator-3.1.0.jar -f “myrule.xml” --approve user@mail.com