Uploaded image for project: 'Kernel'
  1. Kernel
  2. KNL-589

Automatic file encoding detection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.11
    • Fix Version/s: 1.1.14, 1.2.1
    • Component/s: Impl
    • Labels:
      None
    • 1.2 Status:
      Closed
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
      SAK-17558

      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

        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

            No work has yet been logged on this issue.

              People

              • Assignee:
                David Horwitz
                Reporter:
                David Roldán Martínez
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development