残念ながらdiffで文字化けする。フォントとエンコードを設定してもダメだった。惜しい。文字化けしていても、何となくわかるからいいけど。
追記
文字コードがシフトJISだとダメみたい。今さらシフトJISのサイトだから悪いのだけど、UTF-8にコードを書き直せばいいけど、お客さんのサイトだから書き直しができない場合があるから仕方ない。外部Diffを起動すれば大丈夫だけど。
Free Mercurial and Git Client for Windows and Mac | Atlassian SourceTree
SourceTree is a free Mercurial and Git Client for Windows and Mac that provides a graphical interface for your Hg and Git repositories.
コメント
One response to “SourceTreeのdiffで日本語が文字化けしている話し”
ファイルによっては、文字化けしないものもある。よくわからないな。