Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40370

UTF-8 problem in grades.csv file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.5 [Tentative], 12.3, 19.0
    • Fix Version/s: 12.4, 19.0
    • Component/s: Assignments
    • Labels:
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      Change language to Spanish

      Create an assignment
      Select "No hay calificación"
      Post or "Enviar" the assignment
      Click "Mostrar envíos"
      Click a student
      Click "Guardar y publicar la nota"
      Click "Volver a la lista"
      Click "Descargar todo"
      Mark: "Fichero de calificaciones (fichero grades.txt o grades.csv en el directorio raíz el fichero)"
      Mark: "Formato CSV, fichero grades.csv"
      Mark: "Incluir estudiantes que no han realizado un envío todavía"
      Open the zip
      Open the "grades.csv" file
      See "Fecha de envío" and "No hay calificación" are not shown right

      Some information: http://learnings.joshikiran.com/2014/04/write-file-from-java-with-encoding-utf.html

      Show
      Change language to Spanish Create an assignment Select "No hay calificación" Post or "Enviar" the assignment Click "Mostrar envíos" Click a student Click "Guardar y publicar la nota" Click "Volver a la lista" Click "Descargar todo" Mark: "Fichero de calificaciones (fichero grades.txt o grades.csv en el directorio raíz el fichero)" Mark: "Formato CSV, fichero grades.csv" Mark: "Incluir estudiantes que no han realizado un envío todavía" Open the zip Open the "grades.csv" file See "Fecha de envío" and "No hay calificación" are not shown right Some information: http://learnings.joshikiran.com/2014/04/write-file-from-java-with-encoding-utf.html

      Description

      Byte Order Mark is used by some systems to identify the type of file. Microsoft tools add a BOM when saving text as UTF-8, and cannot interpret UTF-8 unless the BOM is present or the file contains only ASCII.

      See 23.8 of the Unicode standard https://www.unicode.org/versions/Unicode11.0.0/ch23.pdf

      The Unicode Standard permits the BOM in UTF-8,[3] but does not require or recommend its use.[4] Byte order has no meaning in UTF-8,[5] so its only use in UTF-8 is to signal at the start that the text stream is encoded in UTF-8, or that it was converted to UTF-8 from a stream that contained an optional BOM.

      https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jtingen Jolie Tingen
                Reporter:
                jesusmmp Jesus Maria Mendez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code