Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13450

File character encoding changes from utf-8 to iso8859-1

    XMLWordPrintable

Details

    Description

      Bitbucket online editor handles file character encoding incorrectly

      Adding a dot after options for some reason changes a pound sign as well. File was correctly encoded before using the online editor

      Looking at diff on bitbucket shows:

      - from just £99 per month. Perfect for new and small businesses. 
      + from just £99 per month. Perfect for new and small businesses. 
       
      - options..
      + options...
      

      file before commit:

      file -bi src/pages/index.md
      text/html; charset=utf-8
      

      file after commit with online editor:

      file -bi src/pages/index.md
      text/html; charset=iso-8859-1
      

      Modifying a file with local editor correctly changes just that line

      -options...
      +options....
      

      Attached 2 files first before modification, second after modification with online editor

      File character encoding should remain utf-8

      Attachments

        1. test-after.md
          0.0 kB
        2. test-before.md
          0.0 kB

        Activity

          People

            Unassigned Unassigned
            955c9fa0e1b9 tomasj
            Votes:
            14 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: