decoder utf-8 for supporting chinese

hi: when i used it for my markdowns . i get error with the coding error. like below.

UnicodeEncodeError: 'ascii' codec can't encode characters in position 322-325: ordinal not in range(128)

i resolved it for decoder with "utf-8" and  pull request for your merge..