This repository was archived by the owner on Nov 9, 2017. It is now read-only.
Commit b7d7da5
committed
Unicode file name support (gitk and git-gui)
Assumes file names in git tree objects are UTF-8 encoded.
On most unix systems, the system encoding (and thus the TCL system
encoding) will be UTF-8, so file names will be displayed correctly.
On Windows, it is impossible to set the system encoding to UTF-8. Changing
the TCL system encoding (via 'encoding system ...', e.g. in the startup
code) is explicitly discouraged by the TCL docs.
Change gitk and git-gui functions dealing with file names to always convert
from and to UTF-8.
Signed-off-by: Karsten Blees <[email protected]>1 parent 20ba112 commit b7d7da5
4 files changed
+19
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
| |||
1104 | 1107 | | |
1105 | 1108 | | |
1106 | 1109 | | |
1107 | | - | |
| 1110 | + | |
1108 | 1111 | | |
1109 | 1112 | | |
1110 | 1113 | | |
| |||
1682 | 1685 | | |
1683 | 1686 | | |
1684 | 1687 | | |
1685 | | - | |
| 1688 | + | |
1686 | 1689 | | |
1687 | 1690 | | |
1688 | 1691 | | |
| |||
1715 | 1718 | | |
1716 | 1719 | | |
1717 | 1720 | | |
1718 | | - | |
| 1721 | + | |
1719 | 1722 | | |
1720 | 1723 | | |
1721 | 1724 | | |
| |||
1738 | 1741 | | |
1739 | 1742 | | |
1740 | 1743 | | |
1741 | | - | |
| 1744 | + | |
1742 | 1745 | | |
1743 | 1746 | | |
1744 | 1747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7557 | 7557 | | |
7558 | 7558 | | |
7559 | 7559 | | |
7560 | | - | |
| 7560 | + | |
7561 | 7561 | | |
7562 | 7562 | | |
7563 | 7563 | | |
| |||
7819 | 7819 | | |
7820 | 7820 | | |
7821 | 7821 | | |
7822 | | - | |
| 7822 | + | |
7823 | 7823 | | |
7824 | 7824 | | |
7825 | 7825 | | |
| |||
7964 | 7964 | | |
7965 | 7965 | | |
7966 | 7966 | | |
7967 | | - | |
| 7967 | + | |
7968 | 7968 | | |
7969 | 7969 | | |
7970 | 7970 | | |
| |||
8021 | 8021 | | |
8022 | 8022 | | |
8023 | 8023 | | |
8024 | | - | |
| 8024 | + | |
8025 | 8025 | | |
8026 | 8026 | | |
8027 | 8027 | | |
| |||
8068 | 8068 | | |
8069 | 8069 | | |
8070 | 8070 | | |
8071 | | - | |
| 8071 | + | |
8072 | 8072 | | |
8073 | 8073 | | |
8074 | 8074 | | |
| |||
8123 | 8123 | | |
8124 | 8124 | | |
8125 | 8125 | | |
8126 | | - | |
| 8126 | + | |
8127 | 8127 | | |
8128 | 8128 | | |
8129 | 8129 | | |
| |||
8142 | 8142 | | |
8143 | 8143 | | |
8144 | 8144 | | |
| 8145 | + | |
8145 | 8146 | | |
8146 | 8147 | | |
8147 | 8148 | | |
| |||
11952 | 11953 | | |
11953 | 11954 | | |
11954 | 11955 | | |
11955 | | - | |
| 11956 | + | |
11956 | 11957 | | |
11957 | 11958 | | |
11958 | 11959 | | |
| |||
0 commit comments