restricted list to handle commons encodings instead of full list, close #1178
Merge pull request #1274 from Skeebl/master

Use a shorter list of encoding instead of those supported by Java 7