Closed RobertFischer closed 12 years ago
I will take a look. It should be fine in UTF-8, but looks like there are a few bad characters in there somehow.
Thanks for pointing this out. Encog should work with UTF-8. I modified the POM file to reflect this. This will also cause my Hudson/Maven builds to fail when this gets violated in a source file. Once I added this directive my builds began failing just as yours was. I then fixed all of the offending characters and all seems fine now!
Awesome! Thank you!
~~ Robert.
On Sun, Jan 15, 2012 at 6:09 PM, Jeff Heaton reply@reply.github.com wrote:
Thanks for pointing this out. Encog should work with UTF-8. I modified the POM file to reflect this. This will also cause my Hudson/Maven builds to fail when this gets violated in a source file. Once I added this directive my builds began failing just as yours was. I then fixed all of the offending characters and all seems fine now!
Reply to this email directly or view it on GitHub: https://github.com/encog/encog-java-core/issues/25#issuecomment-3504201
Attempting a build on my UTF-8 OS-X installation, I get the following errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project encog-core: Compilation failure: Compilation failure: [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/BaseBaumWelch.java:[51,49] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/BaseBaumWelch.java:[53,36] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/HiddenMarkovModel.java:[69,53] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/TrainBaumWelchScaled.java:[48,49] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/TrainBaumWelchScaled.java:[50,36] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/TrainBaumWelch.java:[47,49] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/train/bw/TrainBaumWelch.java:[49,36] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/alog/ForwardBackwardScaledCalculator.java:[35,14] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/alog/ForwardBackwardCalculator.java:[34,14] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/alog/ViterbiCalculator.java:[40,56] error: unmappable character for encoding UTF-8 [ERROR] /Users/robert/wkdir/encog-java-core/src/main/java/org/encog/ml/hmm/alog/KullbackLeiblerDistanceCalculator.java:[34,47] error: unmappable character for encoding UTF-8 [ERROR] -> [Help 1]
What encoding should be used? Can you put that into the mvn config?