changed output file encoding
escape markdown