Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1707

Set the UTF-8 encoding while opening/reading/writing text files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.4
    • Component/s: Framework

      Description

      The default encoding used when opening/reading/writing text files is dependent of the local configured encoding on the OS. We should then set the encoding to UTF-8 to prevent any encoding issues accross differents OSes synchronizations.

      Note that this is not the case for str.encode() and bytes.decode() where UTF-8 is already the default encoding.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h