Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix character encoding problems #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix character encoding problems #194

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 14, 2016

Issue 188:
Error: 'ascii' codec can't decode byte 0xe7 in position 0: ordinal not in range(128)

corfox added 2 commits November 14, 2016 16:43
[Issue 188](#188)
Error: 'ascii' codec can't decode byte 0xe7 in position 0: ordinal not in range(128)
@adamzap
Copy link
Owner

adamzap commented Nov 14, 2016

Could you provide an input file that exhibits #188?

@ghost
Copy link
Author

ghost commented Nov 14, 2016

OS: Windows 7
Python Version: python 2.7.8
Landslide version: 1.1.3
Test filename: 我的测试文件.md

# Landslide

---

# Overview

Generate HTML5 slideshows from markdown, ReST, or textile.

![python](http://i.imgur.com/bc2xk.png)

Landslide is primarily written in Python, but it's themes use:

- HTML5
- Javascript
- CSS

---

# Code Sample

Landslide supports code snippets

    !python
    def log(self, message, level='notice'):
        if self.logger and not callable(self.logger):
            raise ValueError(u"Invalid logger set, must be a callable")

        if self.verbose and self.logger:
            self.logger(message, level)

When input the command landslide.exe ./我的测试文件.md in the CMD will occur the following error:

Error: 'ascii' codec can't decode byte 0xb2 in position 2: ordinal not in range(128)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant