fix syntax highlighting for cvs diff and multibyte language diff

Review Request #738 — Created Feb. 4, 2009 and discarded — Latest diff uploaded

Information

Review Board SVN (deprecated)

Reviewers

There are two change:
1. for cvs diff, filename we got from diff file will be something like  "a.python,v", if we don't strip ",v", then syntax hightliging won't work.
2. tell pygments encoding is "utf-8", otherwise chinese (or other multibyte language) character in source code won't display correctly