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

Automatic file encoding detection

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.x
    • Fix Version/s: 2.7.x, 2.8.x
    • Component/s: Kernel
    • Labels:
      None
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
      SAK-17558, KNL-589

      Description

      If you create a file with non standard characters (for example: España) and try to access it, you will get strange symbols. That's because charset is not set neither in ResourceProperties when you upload the file nor BaseContentService when serving the file. I attach the patch for our 2.6.x installation under kernel 1.0.12.

        Gliffy Diagrams

          Attachments

          1. content_encoding.txt
            4 kB
            David Roldán Martínez
          2. ejemplo.htm
            4 kB
            Sam Ottenhoff
          3. SAK-17558-kernel-DH.diff
            4 kB
            David Horwitz

            Issue Links

              Activity

                People

                • Assignee:
                  dhorwitz David Horwitz
                  Reporter:
                  darolmar@abierta.upv.es David Roldán Martínez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code