Skip to content

Add option to select text encoding for diffs #1607

Closed

Description

@goslife

I would like The new desktop github have option to select text encoding for push code except UTF-8 in Option setting.

Activity

  1. shiftkey commented on May 18, 2017

    @shiftkey
    Member

    select text encoding for push code

    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?

  2. added
    more-info-needed
    on May 18, 2017
  3. goslife commented on May 20, 2017

    @goslife
    Author

    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.
    2017-05-20_10-00-26
    If the new desktop github can select text encoding for push or preview code except UTF-8, it solve this problem.

  4. 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
  5. shiftkey commented on May 20, 2017

    @shiftkey
    Member

    @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.

  6. added and removed
    more-info-needed
    on May 20, 2017
  7. 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
  8. shiftkey commented on Dec 27, 2017

    @shiftkey
    Member

    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.

  9. billygriffin commented on Nov 15, 2018

    @billygriffin
    Contributor

    Since this is tracked in #3923, I'm going to remove future-proposal here. Thanks again for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions