You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add option to select text encoding for diffs #1607
Git doesn't care about your encodings when it comes time to store and send blobs around. Is this related to how things are displayed in the app? Do you have some examples which show the problem?
For example in Classic Desktop Github for Windows. I develop PHP project for direct print slip that php_printer.dll module not support UTF-8. I must use TIS-620 for Thai language in slip. When I commit code, The preview code of change not show character in Thai language that can easily be understood as pictured.
If the new desktop github can select text encoding for push or preview code except UTF-8, it solve this problem.
changed the title [-]Add option to select text encoding for push code except UTF-8[/-][+]Add option to select text encoding for push (preview) code except UTF-8[/+]on May 20, 2017
@goslife this looks like our diff output isn't handling your encodings correctly, which is a known limitation.
I started experimenting with this a while ago in #634, which I would like to revive at some point, but there are some UX questions that I didn't really get to tackle at the time, and integrating the details we can gather in the clients with our existing encoding detection work in GitHub itself needs to be explored more.
changed the title [-]Add option to select text encoding for push (preview) code except UTF-8[/-][+]Add option to select text encoding for diffs[/+]on Jun 9, 2017
This idea is interesting for the future, but this is beyond the scope of our current roadmap.
I added the future-proposal label to this issue and closed it so that we won't get overwhelmed with our backlog! We will revisit this in our next planning session.
Activity
shiftkey commentedon May 18, 2017
Git doesn't care about your encodings when it comes time to store and send blobs around. Is this related to how things are displayed in the app? Do you have some examples which show the problem?
goslife commentedon May 20, 2017
For example in Classic Desktop Github for Windows. I develop PHP project for direct print slip that php_printer.dll module not support UTF-8. I must use TIS-620 for Thai language in slip. When I commit code, The preview code of change not show character in Thai language that can easily be understood as pictured.

If the new desktop github can select text encoding for push or preview code except UTF-8, it solve this problem.
[-]Add option to select text encoding for push code except UTF-8[/-][+]Add option to select text encoding for push (preview) code except UTF-8[/+]shiftkey commentedon May 20, 2017
@goslife this looks like our diff output isn't handling your encodings correctly, which is a known limitation.
I started experimenting with this a while ago in #634, which I would like to revive at some point, but there are some UX questions that I didn't really get to tackle at the time, and integrating the details we can gather in the clients with our existing encoding detection work in GitHub itself needs to be explored more.
[-]Add option to select text encoding for push (preview) code except UTF-8[/-][+]Add option to select text encoding for diffs[/+]shiftkey commentedon Dec 27, 2017
This idea is interesting for the future, but this is beyond the scope of our current roadmap.
I added the
future-proposallabel to this issue and closed it so that we won't get overwhelmed with our backlog! We will revisit this in our next planning session.billygriffin commentedon Nov 15, 2018
Since this is tracked in #3923, I'm going to remove
future-proposalhere. Thanks again for the report.