markdown-pp icon indicating copy to clipboard operation
markdown-pp copied to clipboard

Found a bug and here's how to fix

Open valzi opened this issue 7 years ago • 2 comments

Sorry, I don't know anything about github or python really, so I'm probably submitting this improperly.

Markdown-PP doesn't work when a file has the wrong kind of encoding. This can be fixed by changing

       try:
            f = open(filename, "r")

to

       try:
            f = open(filename, "r", encoding='utf-8')

in the file Include.py.

valzi avatar Sep 06 '18 16:09 valzi

What OS are you using, and which version of Python?

amyreese avatar Oct 02 '18 04:10 amyreese

Windows 10. Python 2.7.15

valzi avatar Oct 03 '18 22:10 valzi