version 1.0.7: support CP850 and CP858