Multibyte characters in diff fragments are broken with syntax highlighting

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

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.

 
chipx86
  1. This patch doesn't appear to apply. I'm unable to review it.
  2. 
      
KO
Review request changed
Change Summary:
Generate a diff file with '--full-index' option.
chipx86
  1. Thanks! Committed to master (2720c7d)
  2.