Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-1048

Split default encoding into file system encoding and content encoding

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We have a default text encoding setting right now which is used as a fallback when we need to pre-configure the encoding or when we cannot determine the best encoding to use. This is currently defaulted to utf-8.

      This works fine for file content, but there is a problem with extended characters on the file system, which are usually reported in the user's own codepage as defined by their regional settings. Ideally when we're calling commands which return or process file names, we should use the default file system code page that's in use. This means having 2 different default text encodings, one for text content and one for file names. The former should still be defaulted to utf-8, and the latter should be defaulted based on the user's OS regional settings.

        1. image-2019-04-05-11-09-51-326.png
          image-2019-04-05-11-09-51-326.png
          20 kB
        2. image-2019-04-05-11-07-17-008.png
          image-2019-04-05-11-07-17-008.png
          35 kB
        3. image-2019-04-05-11-03-36-380.png
          image-2019-04-05-11-03-36-380.png
          12 kB
        4. image2016-5-26 14_13_15.png
          image2016-5-26 14_13_15.png
          36 kB
        5. 1z0-813-Exam-Dumps-2019.pdf
          236 kB
        6. 1.png
          1.png
          54 kB

              sstreeting Steve Streeting (Inactive)
              sstreeting Steve Streeting (Inactive)
              Votes:
              47 Vote for this issue
              Watchers:
              33 Start watching this issue

                Created:
                Updated: