version 1.0.6: support Windows-1252 encoding