be less strict with encoding check
1.0.1