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

utf encode #2

Open
amouhzi opened this issue Oct 9, 2014 · 2 comments
Open

utf encode #2

amouhzi opened this issue Oct 9, 2014 · 2 comments

Comments

@amouhzi
Copy link

amouhzi commented Oct 9, 2014

The UTF8 encode is not needeed.

You should remove it from the code generator.

@capynet
Copy link
Owner

capynet commented Oct 13, 2014

Do you mean in bind.py? I've been forced to do it since without it, in some edge cases codification gets crazy.

@amouhzi
Copy link
Author

amouhzi commented Oct 13, 2014

No, not in bind.py. But in the php file PHPygments::render(). It dosn't work for me until I changed the line: 59:

return array(
"code" => implode("\n", $output),
"styles" => "styles/" . $style . ".css"
);

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

No branches or pull requests

2 participants