brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 193 forks source link

UTF-8 character is displayed as charcode in diff #1224

Open phanect opened 8 years ago

phanect commented 8 years ago

UTF-8 characters are not displayed as it is.

For example, I created following file:

en: Hello, World!
ja: こんにちは、世界!

I added and commited the file, then view the commit from Brackets Git extension:

UTF-8 character is displayed as charcode in diff

It is correctly shown in command line git client:

$ git diff HEAD^ HEAD
diff --git a/test b/test
new file mode 100644
index 0000000..12ba717
--- /dev/null
+++ b/test
@@ -0,0 +1,2 @@
+en: Hello, World!
+ja: こんにちは、世界!

$ git --version
git version 2.1.4
avery20024 commented 7 years ago

same problem here code:

2017-06-23 11 33 34

in file diff:

2017-06-23 11 33 50