lsegal/yard — pull request #415 by kou (2011-11-25 15:22:51+00:00)
Title: Improve encoding line detection

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...