Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18799

Jenkins serves workspace files as ISO-8859-1 instead of UTF-8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      One of my jobs produces plain-text files that are in UTF-8. When I view them at /job/jobname/ws/filename.txt, I see garbage because Jenkins serves them with

      Content-Type: text/plain;charset=ISO-8859-1

      Jenkins's /systemInfo says

      file.encoding: UTF-8
      sun.jnu.encoding: UTF-8

      and environment variables contain

      LANG en_US.UTF-8

      so I've no idea why Jenkins thinks it should use Latin-1 instead.

            Unassigned Unassigned
            mgedmin Marius Gedminas
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: