Multibyte characters in diff fragments are broken with syntax highlighting

Review Request #1639 — Created June 3, 2010 and submitted — Latest diff uploaded

Information

Review Board

Reviewers

The pygment's get_lexer_for_filename() function accept an "encoding" optional argument.  When it is omitted that the pygment treats input as latin-1 encoding, then broke multibyte characters.  So we must specify "UTF-8" for "encoding" correctly.

 
    Loading...