yannponty/VARNA

Unmappable Characters for ant compile

Opened this issue · 1 comments

Hi, please change or remove some characters from a few files. ant compile fails when encountering these characters:
® in :
VARNA/src/fr/orsay/lri/varna/models/export/BackboneEndCommand.java

é from Université in :
VARNA/src/fr/orsay/lri/varna/models/export/BackboneEndCommand.java
VARNA/src/fr/orsay/lri/varna/models/export/BackboneStartCommand.java
VARNA/src/fr/orsay/lri/varna/models/export/BaseEndCommand.java
VARNA/src/fr/orsay/lri/varna/models/export/BasePairEndCommand.java
VARNA/src/fr/orsay/lri/varna/models/export/BasePairStartCommand.java
VARNA/src/fr/orsay/lri/varna/models/export/BaseStartCommand.java

Thank you.

I also had a look at this and found that this looks like a file encoding issue, so it should be possible to fix these files without losing the ®s and és. After running this fix, the complilation ran successfully:

for f in src/fr/orsay/lri/varna/models/export/{Backbone,Base,BasePair}{Start,End}Command.java
do
    iconv -f ISO-8859-1 -t UTF-8 $f > tmp.txt
    mv tmp.txt $f
done