Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1116

Please support convert UTF8-MAC (NFD) to UTF8 (NFC) in commit message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • 1.4.4
    • None
    • None

    Description

      Steps
      =====

      1. Init git repo and commit first one (Terminal.app)
      $ git init test
      $ cd test
      $ touch hello
      $ git add .
      $ git commit -m "がぎぐげご"

      2. Make some changes
      $ touch hello2
      $ git add .

      3. Open test repo with SourceTree
      4. Commit changes (step2) with comment "がぎぐげご"

      Probrem
      =======

      Commit message is same but different encoding

      Step1: がぎぐげご (UTF8)
      Step4: がぎぐげご (UTF8-MAC)

      Expect
      ======

      Step1: がぎぐげご (UTF8)
      Step2: がぎぐげご (UTF8)

      Info
      ====
      First letter: が
      NFC: U+304C (HIRAGANA LETTER GA)
      NFD: U+304B U+3099 (HIRAGANA LETTER KA + COMBINING KATAKANA-HIRAGANA VOICED SOUND)

      Attached:

      • Test repo
      • Windows cmd.exe

      Please support convert UTF8-MAC (NFD) to UTF8 (NFC)

      or

      Don't change commit message encoding.

      Attachments

        1. ScreenClip.jpeg
          ScreenClip.jpeg
          80 kB
        2. test.zip
          20 kB
        3. test — bash — 120×40.jpeg
          test — bash — 120×40.jpeg
          71 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmangier Malik Mangier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: