added some overrides
encoding breaks with perl < 5.10.1