Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,582
Community Members
 
Community Events
184
Community Groups

内容がSJISで記述されているファイルを取り扱う場合にHistory画面のdiffが文字化けする

取り扱っているファイルはExcelのマクロをエクスポートした物です。

コミットコメント等の関係があるので表示文字コードはUTF-8にしています。

Web上の情報から未コミットの時のDiff表示関しては改善されました。

(.gitattributesとnkf32.exeの併用で)

但し、Historyの表示でコミットした内容について表示させると右下のDiffの表示が文字化けします。

おそらく.gitattributesの設定が使われていないのだと推測していますが、

解決方法を見つける事が出来ていません。

どなたか情報をお持ちでしたらご教授ください。

1 answer

0 votes
Rick Li
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 27, 2021

コミュニティをご利用いただきありがとうございます。

下記ネット上の記事と近いようです。

文字コードをSIFT-JISにして、改善可能でしょうか?

文字コードをshift-jisにしてしまうとコミットコメントが化けてしまいます。

コミットコメントが化けてしまうとGitを使っている意味がありませんので
解決になりません。

Like Hiro-Studying likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events