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

Improve encoding line detection #415

Merged
merged 3 commits into from Dec 3, 2011

Conversation

kou
Copy link
Contributor

@kou kou commented Nov 25, 2011

Those patches the following encoding patterns:

Encoding names that have "-" like "utf-8":
# coding: utf-8

Encoding line with Emacs style parameters:
# -- coding: cp932; indent-tabs-mode: t -

C style comment:
/* coding: utf-8 */

C++ style comment:
// coding: utf-8

I really need "C style comment" support. Without it, I get many "???" in output HTML...

lsegal added a commit that referenced this pull request Dec 3, 2011
@lsegal lsegal merged commit dc66e95 into lsegal:master Dec 3, 2011
@lsegal
Copy link
Owner

lsegal commented Dec 3, 2011

Thank for for improving our encoding support :)

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.

None yet

2 participants